PRACTICE / UNDERSTAND / REPEAT
Kubernetes practice question
Practice troubleshooting with self-contained questions. Check your answer, then use the explanation to understand the reasoning.
1 questionAnswers explainedFree · no login
Try this question
Which command displays the recent logs from Pod `api`?
Answer & explanation
Answer: kubectl logs api
`kubectl logs` prints a container’s stdout and stderr. `describe` shows resource details and events.