Exam4Training

What should you do?

You deployed a new application inside your Google Kubernetes Engine cluster using the YAML file specified below.

You check the status of the deployed pods and notice that one of them is still in PENDING status:

You want to find out why the pod is stuck in pending status.

What should you do?
A . Review details of the myapp-service Service object and check for error messages.
B . Review details of the myapp-deployment Deployment object and check for error messages.
C . Review details of myapp-deployment-58ddbbb995-lp86m Pod and check for warning messages.
D . View logs of the container in myapp-deployment-58ddbbb995-lp86m pod and check for warning messages.

Answer: C

Explanation:

https://kubernetes.io/docs/tasks/debug-application-cluster/debug-application/#debugging-pods

Exit mobile version