Kubernetes - FundamentalsYou notice a Deployment is stuck with fewer pods than desired. Which of these is a likely cause preventing reconciliation?AThe kube-apiserver is running normally.BThe image name in the container spec is correct.CThe Deployment's selector labels do not match pod labels.DThe desired replicas count is set to 3.Check Answer
Step-by-Step SolutionSolution:Step 1: Check label selectors for matching podsIf the Deployment's selector labels do not match pod labels, Kubernetes cannot track pods correctly, so reconciliation fails.Step 2: Understand other optionsCorrect image name, running apiserver, and desired replicas do not prevent reconciliation by themselves.Final Answer:The Deployment's selector labels do not match pod labels. -> Option CQuick Check:Label mismatch blocks reconciliation [OK]Quick Trick: Selector and pod labels must match [OK]Common Mistakes:Ignoring label selector importanceBlaming image name for pod count issuesAssuming apiserver status causes pod count
Master "Fundamentals" in Kubernetes9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kubernetes Quizzes Kubernetes Fundamentals - Control plane components (API server, scheduler, controller manager, etcd) - Quiz 5medium Labels and Selectors - Using labels for service routing - Quiz 11easy Labels and Selectors - Label selectors (equality, set-based) - Quiz 4medium Namespaces - Default namespaces overview - Quiz 2easy Namespaces - Resource quotas per namespace - Quiz 7medium Pods - Executing commands in Pods - Quiz 8hard Pods - Pod lifecycle states - Quiz 10hard Pods - Executing commands in Pods - Quiz 6medium ReplicaSets and Deployments - Scaling Deployments - Quiz 1easy Services - Headless services concept - Quiz 3easy