Skip to content
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

Print useful info in kubectl get <CRD> #247

Closed
jsafrane opened this issue Feb 5, 2020 · 3 comments · Fixed by #260
Closed

Print useful info in kubectl get <CRD> #247

jsafrane opened this issue Feb 5, 2020 · 3 comments · Fixed by #260
Assignees

Comments

@jsafrane
Copy link
Contributor

jsafrane commented Feb 5, 2020

Current info printed by kubectl is not really useful:

$ kubectl get volumesnapshotclass
NAME       AGE
ebs-snap   4m43s

$ kubectl get volumesnapshot
NAME     AGE
mysnap   4m6s

$ kubectl get volumesnapshotcontent
NAME                                               AGE
snapcontent-38c22fb7-ef3c-4d53-b4e2-11bb0868d7f2   4m14s

With additional printer columns, it could print e.g. CSI driver (in VolumeSnapshotClass and VolumSnapshotContent) or "Ready" column in VolumeSnapshot. Add more columns as you see fit - check kubectl get pv / pvc / storageclass for inspiration.

@zhucan
Copy link
Member

zhucan commented Feb 5, 2020

+1, Is possible the same as the display of pvc?

@xing-yang
Copy link
Collaborator

Yes, this is good to have.

@xing-yang
Copy link
Collaborator

/assign @xing-yang

bells17 added a commit to bells17/external-snapshotter that referenced this issue May 10, 2024
edd89ad Merge pull request kubernetes-csi#251 from jsafrane/add-logcheck
043fd09 Add test-logcheck target
d7535ae Merge pull request kubernetes-csi#250 from jsafrane/go-1.22
b52e7ad Update go to 1.22.2
14fdb6f Merge pull request kubernetes-csi#247 from msau42/prow
9b4352e Update release playbook
c7bb972 Fix release notes script to use fixed tags
463a0e9 Add script to update specific go modules

git-subtree-dir: release-tools
git-subtree-split: edd89ad
jsafrane added a commit to jsafrane/external-snapshotter that referenced this issue May 13, 2024
adb3af9 Merge pull request kubernetes-csi#252 from bells17/update-go-version
b82ee38 Merge pull request kubernetes-csi#253 from bells17/fix-typo
c317456 Fix typo
0a78505 Bump to Go 1.22.3
edd89ad Merge pull request kubernetes-csi#251 from jsafrane/add-logcheck
043fd09 Add test-logcheck target
d7535ae Merge pull request kubernetes-csi#250 from jsafrane/go-1.22
b52e7ad Update go to 1.22.2
14fdb6f Merge pull request kubernetes-csi#247 from msau42/prow
9b4352e Update release playbook
c7bb972 Fix release notes script to use fixed tags
463a0e9 Add script to update specific go modules

git-subtree-dir: release-tools
git-subtree-split: adb3af9
andyzhangx pushed a commit to andyzhangx/external-snapshotter that referenced this issue Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants