This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Add some useful columns to 'kubectl get' #54
Merged
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
janitha
approved these changes
Jan 24, 2021
- Adding powerState on default and class, image on -o wide for virtualmachine - Adding serviceType to virtualmachineservice - Adding cpu and memeory to virtualmachineclass Adding Age columns to crds with additional columns since they omitted from default when columns are mentioned explicitly for a crd. Testing Done: root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -A NAMESPACE NAME POWERSTATE AGE test-ns jenkins-workload-1611253951 poweredOn 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -o wide -A NAMESPACE NAME POWERSTATE CLASS IMAGE AGE test-ns jenkins-workload-1611253951 poweredOn best-effort-xsmall bitnami-jenkins-2.222.3-1 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmservice -A NAMESPACE NAME TYPE AGE test-ns jenkins-workload-1611253951 LoadBalancer 26h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get virtualmachineclasses -A NAME CPU MEMORY AGE best-effort-2xlarge 8 64Gi 8d best-effort-4xlarge 16 128Gi 8d best-effort-8xlarge 32 128Gi 8d root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmimage -A NAME VERSION OSTYPE FORMAT AGE bitnami-jenkins-2.222.3-1 otherLinux64Guest ovf 7d21h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmclassbinding -A NAMESPACE NAME VIRTUALMACHINECLASS AGE test-ns best-effort-xsmall best-effort-xsmall 42h
bryanv
approved these changes
Jan 25, 2021
akutz
pushed a commit
to vmware-tanzu/vm-operator
that referenced
this pull request
Jun 3, 2021
- Adds columns to ''kubectl get' of crds; virtualmachine, virtualmachineclasses, virtualmachineimages, virtualmachineservice, virtualmachineclassbindings vmware-archive/vm-operator-api#54 Testing Done: root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -A NAMESPACE NAME POWERSTATE AGE test-ns jenkins-workload-1611253951 poweredOn 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -o wide -A NAMESPACE NAME POWERSTATE CLASS IMAGE AGE test-ns jenkins-workload-1611253951 poweredOn best-effort-xsmall bitnami-jenkins-2.222.3-1 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmservice -A NAMESPACE NAME TYPE AGE test-ns jenkins-workload-1611253951 LoadBalancer 26h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get virtualmachineclasses -A NAME CPU MEMORY AGE best-effort-2xlarge 8 64Gi 8d best-effort-4xlarge 16 128Gi 8d best-effort-8xlarge 32 128Gi 8d root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmimage -A NAME VERSION OSTYPE FORMAT AGE bitnami-jenkins-2.222.3-1 otherLinux64Guest ovf 7d21h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmclassbinding -A NAMESPACE NAME VIRTUALMACHINECLASS AGE test-ns best-effort-xsmall best-effort-xsmall 42h
akutz
pushed a commit
to vmware-tanzu/vm-operator
that referenced
this pull request
Jun 3, 2021
- Adds columns to ''kubectl get' of crds; virtualmachine, virtualmachineclasses, virtualmachineimages, virtualmachineservice, virtualmachineclassbindings vmware-archive/vm-operator-api#54 Testing Done: root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -A NAMESPACE NAME POWERSTATE AGE test-ns jenkins-workload-1611253951 poweredOn 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -o wide -A NAMESPACE NAME POWERSTATE CLASS IMAGE AGE test-ns jenkins-workload-1611253951 poweredOn best-effort-xsmall bitnami-jenkins-2.222.3-1 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmservice -A NAMESPACE NAME TYPE AGE test-ns jenkins-workload-1611253951 LoadBalancer 26h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get virtualmachineclasses -A NAME CPU MEMORY AGE best-effort-2xlarge 8 64Gi 8d best-effort-4xlarge 16 128Gi 8d best-effort-8xlarge 32 128Gi 8d root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmimage -A NAME VERSION OSTYPE FORMAT AGE bitnami-jenkins-2.222.3-1 otherLinux64Guest ovf 7d21h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmclassbinding -A NAMESPACE NAME VIRTUALMACHINECLASS AGE test-ns best-effort-xsmall best-effort-xsmall 42h
sreyasn
added a commit
to sreyasn/vm-operator
that referenced
this pull request
Oct 8, 2021
- Adds columns to ''kubectl get' of crds; virtualmachine, virtualmachineclasses, virtualmachineimages, virtualmachineservice, virtualmachineclassbindings vmware-archive/vm-operator-api#54 Testing Done: root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -A NAMESPACE NAME POWERSTATE AGE test-ns jenkins-workload-1611253951 poweredOn 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -o wide -A NAMESPACE NAME POWERSTATE CLASS IMAGE AGE test-ns jenkins-workload-1611253951 poweredOn best-effort-xsmall bitnami-jenkins-2.222.3-1 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmservice -A NAMESPACE NAME TYPE AGE test-ns jenkins-workload-1611253951 LoadBalancer 26h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get virtualmachineclasses -A NAME CPU MEMORY AGE best-effort-2xlarge 8 64Gi 8d best-effort-4xlarge 16 128Gi 8d best-effort-8xlarge 32 128Gi 8d root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmimage -A NAME VERSION OSTYPE FORMAT AGE bitnami-jenkins-2.222.3-1 otherLinux64Guest ovf 7d21h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmclassbinding -A NAMESPACE NAME VIRTUALMACHINECLASS AGE test-ns best-effort-xsmall best-effort-xsmall 42h
akutz
pushed a commit
to vmware-tanzu/vm-operator
that referenced
this pull request
Sep 21, 2022
- Adds columns to ''kubectl get' of crds; virtualmachine, virtualmachineclasses, virtualmachineimages, virtualmachineservice, virtualmachineclassbindings vmware-archive/vm-operator-api#54 Testing Done: root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -A NAMESPACE NAME POWERSTATE AGE test-ns jenkins-workload-1611253951 poweredOn 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -o wide -A NAMESPACE NAME POWERSTATE CLASS IMAGE AGE test-ns jenkins-workload-1611253951 poweredOn best-effort-xsmall bitnami-jenkins-2.222.3-1 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmservice -A NAMESPACE NAME TYPE AGE test-ns jenkins-workload-1611253951 LoadBalancer 26h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get virtualmachineclasses -A NAME CPU MEMORY AGE best-effort-2xlarge 8 64Gi 8d best-effort-4xlarge 16 128Gi 8d best-effort-8xlarge 32 128Gi 8d root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmimage -A NAME VERSION OSTYPE FORMAT AGE bitnami-jenkins-2.222.3-1 otherLinux64Guest ovf 7d21h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmclassbinding -A NAMESPACE NAME VIRTUALMACHINECLASS AGE test-ns best-effort-xsmall best-effort-xsmall 42h
akutz
pushed a commit
to vmware-tanzu/vm-operator
that referenced
this pull request
Dec 1, 2022
- Adds columns to ''kubectl get' of crds; virtualmachine, virtualmachineclasses, virtualmachineimages, virtualmachineservice, virtualmachineclassbindings vmware-archive/vm-operator-api#54 Testing Done: root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -A NAMESPACE NAME POWERSTATE AGE test-ns jenkins-workload-1611253951 poweredOn 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vm -o wide -A NAMESPACE NAME POWERSTATE CLASS IMAGE AGE test-ns jenkins-workload-1611253951 poweredOn best-effort-xsmall bitnami-jenkins-2.222.3-1 25h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmservice -A NAMESPACE NAME TYPE AGE test-ns jenkins-workload-1611253951 LoadBalancer 26h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get virtualmachineclasses -A NAME CPU MEMORY AGE best-effort-2xlarge 8 64Gi 8d best-effort-4xlarge 16 128Gi 8d best-effort-8xlarge 32 128Gi 8d root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmimage -A NAME VERSION OSTYPE FORMAT AGE bitnami-jenkins-2.222.3-1 otherLinux64Guest ovf 7d21h root@4212e95af1461a21e76bcd525ad63941 [ ~ ]# kubectl get vmclassbinding -A NAMESPACE NAME VIRTUALMACHINECLASS AGE test-ns best-effort-xsmall best-effort-xsmall 42h
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
from default when columns are mentioned explicitly for a crd.
Testing Done: