QuestionQ9

VerifiedDevOps Automation

How can a deployment named nodejs-deployment be scaled to two replicas?

Explanation

kubectl scale sets the desired replica count for a Deployment. Specifying deployment nodejs-deployment --replicas=2 changes that Deployment’s desired size to two replicas.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!