Show node labels
Lists all labels on each node
kubectl get nodes --show-labels
More kubectl commands
-
kubectl uncordon <node>Allows scheduling again on a node that was cordoned
-
kubectl get hpa -ACurrent and desired replicas and metrics of each Horizontal Pod Autoscaler
-
kubectl describe resourcequota -n <ns>Used vs hard limits for CPU, memory and object counts in the namespace
-
kubectl get pdb -AShows min available, max unavailable and how many pods can be evicted right now
-
kubectl describe limitrange -n <ns>Default and max resource limits for pods in the namespace