Your application is running in multiple Google Kubernetes Engine clusters. It is managed by a Deployment in each cluster. The Deployment has created multiple replicas of your Pod in each cluster. You want to view the logs sent to stdout for all of the replicas in your Deployment in all clusters. Which command should you use?
A) kubectl logs [PARAM]
B) gcloud logging read [PARAM]
C) kubectl exec -it [PARAM] journalctl
D) gcloud compute ssh [PARAM] --command= "sudo journalctl"
Correct Answer:
Verified
Q75: You are writing a Compute Engine hosted
Q76: Case study This is a case study.
Q77: Case study This is a case study.
Q78: Your API backend is running on multiple
Q79: You have an application deployed in production.
Q80: You are using Cloud Build to create
Q81: Case study This is a case study.
Q82: Your application requires service accounts to be
Q83: Your teammate has asked you to review
Q84: Case study This is a case study.
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents