You are running a cluster on Kubernetes Engine to serve a web application. Users are reporting that a specific part of the application is not responding anymore. You notice that all pods of your deployment keep restarting after 2 seconds. The application writes logs to standard output. You want to inspect the logs to find the cause of the issue.
Which approach can you take?
A . Review the Stackdriver logs for each Compute Engine instance that is serving as a node in the cluster.
B . Review the Stackdriver logs for the specific Kubernetes Engine container that is serving the unresponsive part of the application.
C . Connect to the cluster using gcloud credentials and connect to a container in one of the pods to read the logs.
D . Review the Serial Port logs for each Compute Engine instance that is serving as a node in the cluster.
Answer: B
Leave a Reply