kubernetes:kubectl_cheatsheet
This is an old revision of the document!
Table of Contents
[CHEATSHEET] kubectl
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.1709222170.txt.gz · Last modified: 2024/02/29 15:56 by dodger