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

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.