Câu 43: Google Cloud Professional Cloud Developer
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 y…
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. kubectl logs [PARAM]
- B. gcloud logging read [PARAM] — đáp án hiện tại
- C. kubectl exec ג€"it [PARAM] journalctl
- D. gcloud compute ssh [PARAM] ג€"-command= ג€sudo journalctlג€
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.