Troubleshooting of the pods:
We can get a logs for the pod through log flag.
#kubectl log podname
Find out the resource utilization through top.
#kubectl top nodes [worker nodes]
#kubectl top pods
List the containers inside of each pod as below:
# kubectl get pod -o="custom-columns=NAME:.metadata.name,INIT-CONTAINERS:.spec.initContainers[*].name,CONTAINERS:.spec.containers[*].name"
No comments:
Post a Comment