You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it?
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it?
Solution: kubectl logs deployment api
A . Yes
B . No
Answer: B
Explanation:
= The command kubectl logs deployment api does not display the events table for the deployment object, but rather the logs of the pods that belong to the deployment. To see the events table, you need to use the command kubectl describe deployment api, which shows the details of the deployment, including the events1.
Reference: Kubernetes Documentation, Practice Questions for Docker Certified Associate (DCA) Exam
Latest DCA Dumps Valid Version with 55 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments