Beginner Kubernetes
Q17 / 100

What does "kubectl scale deployment <name> --replicas=5" do?

Correct! Well done.

Incorrect.

The correct answer is B) Changes the desired number of Pod replicas managed by the deployment to 5

B

Correct Answer

Changes the desired number of Pod replicas managed by the deployment to 5

Explanation

"kubectl scale" updates the replica count of a Deployment (or ReplicaSet/StatefulSet), and the controller adjusts the number of running Pods to match.

Progress
17/100