Kubernetes General troubleshooting and debugging tools¶
This is just documentation with some useful tools and notes about Kubernetes debugging.
Debugging pods and containers¶
- To get a shell in a temporary pod
- To get a shell in an existing pod
- To get logs from a pod
- To get logs from a specific container in a pod
- To get logs from a pod and follow them in real-time
- To get logs from a specific container in a pod and follow them in real-time
- To describe a pod and get detailed information about it
- To get the events related to a pod
- To get the status of a pod
- To get the resource usage of a pod
- To get the resource usage of all pods
- To get the resource usage of a specific container in a pod
- To get the resource usage of all containers in a pod