Skip to content

Instantly share code, notes, and snippets.

@ainsofs
Created September 14, 2021 22:52
Show Gist options
  • Save ainsofs/a2ec8da0c86f4dd327f4500d9ecac2b6 to your computer and use it in GitHub Desktop.
Save ainsofs/a2ec8da0c86f4dd327f4500d9ecac2b6 to your computer and use it in GitHub Desktop.
# show all pods
kubectl get pods --all-namespaces
# get pod info
kubectl -n {uuid} describe pods {container_name}
# delete pod
kubectl -n {uuid} delete pods -lname={container_name}
# view pod log
kubectl -n {uuid} log -lname={container_name}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment