Skip to content

Instantly share code, notes, and snippets.

@Baargav
Baargav / kubectl.md
Last active April 27, 2018 08:47
Useful Kubectl commands

Setting Up kubectl

export KUBECONFIG={cert-file} 
kubectl config use-context {context}

Pods

kubectl get pods
kubectl get pod --all-namespaces --show-all -o wide