GCP ACE · Question 33 · Domain 4.2: Managing GKE resources
You deployed a new container to your GKE cluster, but the application is not responding. You run kubectl get pods and see that the Pod status is 'CrashLoopBackOff'.
What is the MOST appropriate next command to diagnose why the container is crashing?
Answer options:
kubectl describe pod [POD_NAME]
kubectl logs [POD_NAME]
kubectl exec -it [POD_NAME] -- /bin/bash
gcloud container clusters describe [CLUSTER_NAME]
50 questions · hints · full answers · grading