export KUBECONFIG={cert-file}
kubectl config use-context {context}
kubectl get pods
kubectl get pod --all-namespaces --show-all -o wide
kubectl get ds --namespace=kube-system
kubectl delete ds {ds-name} --namespace=kube-system
kubectl create -f ds.yml
This is super useful to debug issues.
kubectl proxy
In a browser, navigate to: localhost:8001/ui
This is a super useful command when you debug. It shows you each pod and the node it sits on:
kubectl get pod --all-namespaces --show-all -o wide