Which command should you use?

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 Cit [PARAM] journalctl
D . gcloud compute ssh [PARAM] C-command= “sudo journalctl”

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments