parent
7f7829fceb
commit
e03f4b258c
|
@ -160,9 +160,9 @@ kubectl get services --sort-by=.metadata.name
|
||||||
# List pods Sorted by Restart Count
|
# List pods Sorted by Restart Count
|
||||||
kubectl get pods --sort-by='.status.containerStatuses[0].restartCount'
|
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
|
# Get the version label of all pods with label app=cassandra
|
||||||
kubectl get pods --selector=app=cassandra -o \
|
kubectl get pods --selector=app=cassandra -o \
|
||||||
|
|
Loading…
Reference in New Issue