QuestionQ276

VerifiedKubernetes Fundamentals

Which command correctly scales a deployment to run multiple Pods?

Explanation

Kubernetes scales a Deployment by setting its desired replica count with kubectl scale --replicas=<count> deployment/<name>. Setting --replicas=3 for my-app requests three Pod replicas.

Learn more

Community Discussion

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