-
Notifications
You must be signed in to change notification settings - Fork 430
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
add AGE column to custom printcolumn #2960
add AGE column to custom printcolumn #2960
Conversation
Hi @bavarianbidi. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
8ba7a0c
to
0742292
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/ok-to-test
/test pull-cluster-api-provider-azure-verify i guess it's a flaky test:
|
@bavarianbidi thanks for the PR! Verify job is failing with:
In order to make these changes you should only have to change the files in |
On all CRDs where custom printcolumns are defined, the AGE column is missing. CAPI core CRDs already have the AGE column in place. Signed-off-by: Mario Constanti <[email protected]>
0742292
to
838d2d8
Compare
@CecileRobertMichon 🙈 thanks for pointing this out. Forgot the Should be fine now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
I verified this is working locally: % k get cluster-api
NAME AGE
clusterresourceset.addons.cluster.x-k8s.io/crs-calico-windows 17m
clusterresourceset.addons.cluster.x-k8s.io/csi-proxy 17m
NAME CLUSTER AGE
kubeadmconfig.bootstrap.cluster.x-k8s.io/machinepool-4932-control-plane-mddzr machinepool-4932 10m
kubeadmconfig.bootstrap.cluster.x-k8s.io/machinepool-4932-mp-0 machinepool-4932 12m
NAME CLUSTER NODENAME PROVIDERID PHASE AGE VERSION
machine.cluster.x-k8s.io/machinepool-4932-control-plane-rzwzh machinepool-4932 machinepool-4932-control-plane-8d6wf azure:///subscriptions/e240e532-1923-4fe0-86da-28abc43fc4c7/resourceGroups/machinepool-4932/providers/Microsoft.Compute/virtualMachines/machinepool-4932-control-plane-8d6wf Running 10m v1.26.0
NAME CLUSTER REPLICAS PHASE AGE VERSION
machinepool.cluster.x-k8s.io/machinepool-4932-mp-0 machinepool-4932 2 Running 12m v1.26.0
NAME PHASE AGE VERSION
cluster.cluster.x-k8s.io/machinepool-4932 Provisioned 12m
NAME CLUSTER INITIALIZED API SERVER AVAILABLE REPLICAS READY UPDATED UNAVAILABLE AGE VERSION
kubeadmcontrolplane.controlplane.cluster.x-k8s.io/machinepool-4932-control-plane machinepool-4932 true true 1 1 1 0 12m v1.26.0
NAME VERSION READY STATE AGE
azuremachinepoolmachine.infrastructure.cluster.x-k8s.io/machinepool-4932-mp-0-0 v1.26.0 true Succeeded 7m6s
azuremachinepoolmachine.infrastructure.cluster.x-k8s.io/machinepool-4932-mp-0-1 v1.26.0 true Succeeded 7m6s
NAME REPLICAS READY STATE AGE
azuremachinepool.infrastructure.cluster.x-k8s.io/machinepool-4932-mp-0 2 true Succeeded 12m
NAME CLUSTER READY REASON AGE
azurecluster.infrastructure.cluster.x-k8s.io/machinepool-4932 machinepool-4932 True 12m
NAME AGE
azuremachinetemplate.infrastructure.cluster.x-k8s.io/machinepool-4932-control-plane 12m
NAME READY REASON STATE AGE
azuremachine.infrastructure.cluster.x-k8s.io/machinepool-4932-control-plane-8d6wf True Succeeded 10m
NAME TYPE AGE
azureclusteridentity.infrastructure.cluster.x-k8s.io/cluster-identity ServicePrincipal 12m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon 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 |
@bavarianbidi: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/retest-required |
What type of PR is this?
/kind feature
What this PR does / why we need it:
On all CRDs where custom printcolumns are defined, the AGE column is missing. CAPI core CRDs already have the AGE column in place.
For all CRDs where custom build-colums are defined, the
AGE
column will be introduced.Beside the
AGE
column, forazureclusteridentities
, thetype
will also be a separate column.Signed-off-by: Mario Constanti [email protected]
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.
TODOs:
Release note: