forked from kubernetes-sigs/cluster-api
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPSTREAM: <carry>: openshift: Read machine additional printer columns from annotations/labels #55
Merged
openshift-merge-robot
merged 1 commit into
openshift:openshift-4.2-cluster-api-0.1.0
from
gofed:update-crd-additionalPrinterColumns
Aug 5, 2019
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openshift-ci-robot
added
the
size/S
Denotes a PR that changes 10-29 lines, ignoring generated files.
label
Jul 29, 2019
4 tasks
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enxebre The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
openshift-ci-robot
added
the
approved
Indicates a PR has been approved by an approver from all required OWNERS files.
label
Aug 5, 2019
/hold node and providerID bits are still missing |
openshift-ci-robot
added
the
do-not-merge/hold
Indicates that a PR should not merge because someone has issued a /hold command.
label
Aug 5, 2019
… from annotations/labels Given we already support AWS, Azure and GCP instalations of OpenShift, reading values from machine provider config is no longer an option. Instead, let's read all needed values from machine annotations and labels. Each actuator will be then responsible for making sure every machine has all the annotations and labels that are needed to properly display additional machine columns set. Also, print provider ID and linked node only with '-o wide` option since they are secondary to displaying current state of a machine. $ oc get machines -n openshift-machine-api NAME STATE TYPE REGION ZONE AGE jchaloup-x8pdp-master-0 Running Standard_D4s_v3 centralus 3 44m jchaloup-x8pdp-master-1 Running Standard_D4s_v3 centralus 1 44m jchaloup-x8pdp-master-2 Running Standard_D4s_v3 centralus 2 44m jchaloup-x8pdp-worker-centralus1-b97mk Running Standard_D2s_v3 centralus 1 43m jchaloup-x8pdp-worker-centralus2-8tz8d Running Standard_D2s_v3 centralus 2 43m jchaloup-x8pdp-worker-centralus3-22zf5 Running Standard_D2s_v3 centralus 3 43m $ oc get machines -n openshift-machine-api -o wide NAME STATE TYPE REGION ZONE AGE NODE PROVIDERID jchaloup-x8pdp-master-0 Running Standard_D4s_v3 centralus 3 47m jchaloup-x8pdp-master-0 azure:///subscriptions/6648228a-736c-4a4e-9a14-92a7e5190f4a/resourceGroups/jchaloup-x8pdp-rg/providers/Microsoft.Compute/virtualMachines/jchaloup-x8pdp-master-0 jchaloup-x8pdp-master-1 Running Standard_D4s_v3 centralus 1 47m jchaloup-x8pdp-master-1 azure:///subscriptions/6648228a-736c-4a4e-9a14-92a7e5190f4a/resourceGroups/jchaloup-x8pdp-rg/providers/Microsoft.Compute/virtualMachines/jchaloup-x8pdp-master-1 jchaloup-x8pdp-master-2 Running Standard_D4s_v3 centralus 2 47m jchaloup-x8pdp-master-2 azure:///subscriptions/6648228a-736c-4a4e-9a14-92a7e5190f4a/resourceGroups/jchaloup-x8pdp-rg/providers/Microsoft.Compute/virtualMachines/jchaloup-x8pdp-master-2 jchaloup-x8pdp-worker-centralus1-b97mk Running Standard_D2s_v3 centralus 1 46m jchaloup-x8pdp-worker-centralus1-b97mk azure:///subscriptions/6648228a-736c-4a4e-9a14-92a7e5190f4a/resourceGroups/jchaloup-x8pdp-rg/providers/Microsoft.Compute/virtualMachines/jchaloup-x8pdp-worker-centralus1-b97mk jchaloup-x8pdp-worker-centralus2-8tz8d Running Standard_D2s_v3 centralus 2 46m jchaloup-x8pdp-worker-centralus2-8tz8d azure:///subscriptions/6648228a-736c-4a4e-9a14-92a7e5190f4a/resourceGroups/jchaloup-x8pdp-rg/providers/Microsoft.Compute/virtualMachines/jchaloup-x8pdp-worker-centralus2-8tz8d jchaloup-x8pdp-worker-centralus3-22zf5 Running Standard_D2s_v3 centralus 3 46m jchaloup-x8pdp-worker-centralus3-22zf5 azure:///subscriptions/6648228a-736c-4a4e-9a14-92a7e5190f4a/resourceGroups/jchaloup-x8pdp-rg/providers/Microsoft.Compute/virtualMachines/jchaloup-x8pdp-worker-centralus3-22zf5
ingvagabund
force-pushed
the
update-crd-additionalPrinterColumns
branch
from
August 5, 2019 11:29
e2e211b
to
fbb0a42
Compare
openshift-ci-robot
added
size/M
Denotes a PR that changes 30-99 lines, ignoring generated files.
and removed
size/S
Denotes a PR that changes 10-29 lines, ignoring generated files.
labels
Aug 5, 2019
ingvagabund
changed the title
UPSTREAM: <carry>: openshift: revert and read machine additional printer columns from annotations/labels
UPSTREAM: <carry>: openshift: Read machine additional printer columns from annotations/labels
Aug 5, 2019
/hold cancel |
openshift-ci-robot
removed
the
do-not-merge/hold
Indicates that a PR should not merge because someone has issued a /hold command.
label
Aug 5, 2019
/lgtm |
openshift-merge-robot
merged commit Aug 5, 2019
f8de78a
into
openshift:openshift-4.2-cluster-api-0.1.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Given we already support AWS, Azure and GCP instalations of OpenShift,
reading values from machine provider config is no longer an option.
Instead, let's read all needed values from machine annotations and labels.
Each actuator will be then responsible for making sure every machine
has all the annotations and labels that are needed to properly display
additional machine columns set.
Also, print provider ID and linked node only with '-o wide` option since they are secondary to displaying current state of a machine.
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note: