Run one-off pod
Ephemeral pod for debugging; deleted on exit
kubectl run tmp --image=nicolaka/netshoot -it --rm --restart=Never -n <ns> -- bash
- tool
- kubectl73 commands
More kubectl commands
-
kubectl get nodes --show-labelsSee all labels assigned to each node
-
kubectl uncordon <node>Re-enable scheduling on a previously cordoned node
-
kubectl get hpa -AHorizontal Pod Autoscaler current/desired replicas and metrics
-
kubectl describe resourcequota -n <ns>Used vs hard limits for CPU, memory, object counts in namespace
-
kubectl get pdb -AShow min-available and current healthy pod counts