Command Reference
Kubectl
Read Operations
Check cluster nodes
kubectl get nodesDiagnose nodes
kubectl describe nodesCheck cluster pods
kuebctl get podsDiagnose pods
kubectl describe podsCheck service
kubectl -n <NAMESPACE> get service <SERVICE NAME>
E.g: kubectl -n kubernetes-dashboard get svcCheck Auth permissions
# Check allowed permissions
kubectl auth can-i --list
# Check attributes (self)
kubectl auth whoamiCheck cluster config
Write Operations
Execute commands in pod
Last updated