ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 75 - DCA discussion

Report
Export

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 describe deployment api

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: A

Explanation:

= The commandkubectl describe deployment apidisplays the events table for the deployment object called api, along with other information such as labels, replicas, strategy, conditions, and pod template. The events table shows the history of actions that have affected the deployment, such as scaling, updating, or creating pods. This can help troubleshoot any issues with the deployment. To see only the events table, you can use the flag--show-events=truewith the command.Reference:

Deployments | Kubernetes

kubectl - How to describe kubernetes resource - Stack Overflow

Kubectl: Get Deployments - Kubernetes - ShellHacks

kubernetes - Kubectl get deployment yaml file - Stack Overflow

asked 08/11/2024
hotthefish shark
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first