Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 439 Bytes

TROUBLESHOOTING.md

File metadata and controls

14 lines (8 loc) · 439 Bytes

##Kubernetes Troubleshooting

The most important tool to know for debugging problems is the describe resource command. It can be used to describe any Kubernetes resource.

kubectl describe pod helloworld-service-v1-119527584-jwfzh

kubectl describe service helloworld-service

kubectl top can be used to see resource utilization. A very common problem is the pod was not able to be scheduled.

kubectl top nodes

kubectl top pods