Bird
0
0

You want to check why a deployment named frontend is not creating pods as expected. Which kubectl describe command and output section will help you diagnose the issue?

hard📝 Workflow Q15 of 15
Kubernetes - kubectl Essential Commands
You want to check why a deployment named frontend is not creating pods as expected. Which kubectl describe command and output section will help you diagnose the issue?
Akubectl describe pod frontend; check the Status section for pod readiness
Bkubectl describe deployment frontend; check the Events section for errors
Ckubectl describe service frontend; check the Endpoints section
Dkubectl describe node frontend; check the Capacity section
Step-by-Step Solution
Solution:
  1. Step 1: Identify the correct resource to describe

    Since the issue is with a deployment named frontend, you should describe the deployment resource, not pods, services, or nodes.
  2. Step 2: Locate the useful output section

    The Events section in the deployment description shows recent errors or warnings related to pod creation or scaling issues, which helps diagnose why pods are not created.
  3. Final Answer:

    kubectl describe deployment frontend; check the Events section for errors -> Option B
  4. Quick Check:

    Describe deployment + Events = diagnose pod creation issues [OK]
Quick Trick: Check deployment Events for pod creation errors [OK]
Common Mistakes:
  • Describing pod instead of deployment
  • Checking service or node instead of deployment
  • Ignoring Events section in output

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes