Skip to content

Commit

Permalink
Fix a command in kubectl cheatsheet (kubernetes#17888)
Browse files Browse the repository at this point in the history
  • Loading branch information
tengqm authored and zacharysarah committed Dec 5, 2019
1 parent f1911ad commit 95fcb70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/reference/kubectl/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 95fcb70

Please sign in to comment.