Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
kubectl
/
Watch pod status changes
Watch pod status changes
kubectl
Live-refresh pod list as statuses change
kubectl get pods -n <ns> -w
⎘ copy
#pods
#debug
more kubectl
all 73 commands →
Top pods by CPU
kubectl top pods -A --sort-by=cpu
Create ServiceAccount token
kubectl create token <sa-name> -n <ns> --duration=1h
Check who can do what (audit)
kubectl auth can-i --list -n <ns>
Delete all pods in namespace
kubectl delete pods --all -n <ns>
Get ingress list
kubectl get ingress -A