Bird
0
0

Given the output of kubectl get pods below, what is the current state of the Pod named web-server?

medium📝 Command Output Q13 of 15
Kubernetes - Pods
Given the output of kubectl get pods below, what is the current state of the Pod named web-server?
NAME         READY   STATUS    RESTARTS   AGE
web-server   1/1     Running   0          5m
APending
BSucceeded
CRunning
DFailed
Step-by-Step Solution
Solution:
  1. Step 1: Read the STATUS column for the Pod

    The STATUS column shows "Running" for the Pod named web-server.
  2. Step 2: Confirm the Pod is active

    READY is 1/1, meaning all containers are ready, confirming the Pod is running.
  3. Final Answer:

    Running -> Option C
  4. Quick Check:

    Pod status shown as Running = B [OK]
Quick Trick: Check STATUS column in 'kubectl get pods' output [OK]
Common Mistakes:
  • Confusing READY count with STATUS
  • Assuming 1/1 means Pending instead of Running

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes