User Tools

Site Tools


kubernetes:kubectl_cheatsheet

[CHEATSHEET] kubectl

list namespaces

kubectl get ns

list namespaces detailed

kubectl describe ns

change namespace

kubectl config set-context --current --namespace=NAMESPACE_NAME

List all pods

kubectl get pod -o=custom-columns=NAME:.metadata.name,STATUS:.status.phase,NODE:.spec.nodeName --all-namespaces
kubernetes/kubectl_cheatsheet.txt · Last modified: 2024/02/29 15:59 by dodger