Skip to content

Instantly share code, notes, and snippets.

@rhiroyuki
Created March 17, 2020 12:54
Show Gist options
  • Save rhiroyuki/171d94a8422e9ad63f1bbf1b9b06b9a4 to your computer and use it in GitHub Desktop.
Save rhiroyuki/171d94a8422e9ad63f1bbf1b9b06b9a4 to your computer and use it in GitHub Desktop.
kubectl get pods --all-namespaces
kubectl config get-contexts
kubectl config use-context {some-context-here}
kubectl exec -it --namespace {namespace} {pod-name} bash
kubectl --namespace {namespace} delete pod {pod-name}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment