Skip to content
Permalink
Browse files

Fix a command in kubectl cheatsheet (#17888)

Closes: #17883
  • Loading branch information
tengqm authored and k8s-ci-robot committed Dec 1, 2019
1 parent 7f7829f commit e03f4b258c49d5b01466aca576e8e7a0f451397a
Showing with 2 additions and 2 deletions.
  1. +2 −2 content/en/docs/reference/kubectl/cheatsheet.md
@@ -160,9 +160,9 @@ kubectl get services --sort-by=.metadata.name
# List pods Sorted by Restart Count
kubectl get pods --sort-by='.status.containerStatuses[0].restartCount'
# List PersistentVolumes in test namespace sorted by capacity
# List PersistentVolumes sorted by capacity
kubectl get pv -n test --sort-by=.spec.capacity.storage
kubectl get pv --sort-by=.spec.capacity.storage
# Get the version label of all pods with label app=cassandra
kubectl get pods --selector=app=cassandra -o \

0 comments on commit e03f4b2

Please sign in to comment.
You can’t perform that action at this time.