Study. uk . com
  1. Home
  2. All questions
  3. Question 471

CKA study material · question 471 of 1000

Which command narrows the event stream to warnings?

  1. kubectl get events --level=warn
  2. kubectl describe events --warnings
  3. kubectl get events -o warning
  4. kubectl events --types=Warning
Show the answer

Answer: D. kubectl events --types=Warning

kubectl events --types=Warning lists warning events, which is usually where a failure explains itself.

Source: kubectl Quick Reference (Kubernetes) — Viewing and finding resources

Challenge yourself on this topic → Study as cards