Skip to content

Instantly share code, notes, and snippets.

@dwdraju
Last active June 24, 2018 10:12
Show Gist options
  • Save dwdraju/ec7dfd49a0d977f40763bfe4ac48addf to your computer and use it in GitHub Desktop.
Save dwdraju/ec7dfd49a0d977f40763bfe4ac48addf to your computer and use it in GitHub Desktop.
General Kubectl Commands
  • Get pods
kubectl get pods
  • Enter into pod
kubectl exec -it [pod-name] /bin/bash
  • Delete pod
kubectl delete pod [pod-name]
  • Get configmap values
kubectl get configmap -o yaml [configmap-name]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment