Last active
February 7, 2022 14:52
-
-
Save abuxton/f7f5cd1e0037e1f5caa99ed971fc55f6 to your computer and use it in GitHub Desktop.
debugging kubectl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://kubernetes.io/docs/tasks/debug-application-cluster/debug-running-pod/ | |
https://kubernetes.io/docs/reference/kubectl/cheatsheet/ | |
# examples | |
kubectl -n terraform-cloud-agent get all | |
kubectl -n terraform-cloud-agent logs terraform-cloud-agent-84546788bc-jfmtt -f #-f for follow | |
kubectl -n terraform-cloud-agent logs terraform-cloud-agent-84546788bc-jfmtt terraform-cloud-agent | |
kubectl -n terraform-cloud-agent describe pod terraform-cloud-agent-84546788bc-jfmtt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment