Beginner
Kubernetes
Q22 / 100
What does "kubectl delete pod <pod-name>" do if the pod is managed by a Deployment?
Correct! Well done.
Incorrect.
The correct answer is B) Deletes the specified pod, but the Deployment's controller will create a new pod to maintain the desired replica count
B
Correct Answer
Deletes the specified pod, but the Deployment's controller will create a new pod to maintain the desired replica count
Explanation
Since the Deployment continuously reconciles towards the desired replica count, deleting a managed pod causes the ReplicaSet controller to create a replacement pod automatically.
Progress
22/100