0 votes
in Kubernetes K8s by

What is the command to scale a Kubernetes Deployment?

a) kubectl scale deployment [name] –replicas=[number]

b) kubectl apply -f deployment.yaml

c) kubectl create deployment [name] –image=[image]

d) kubectl edit deployment [name]

1 Answer

0 votes
by

Answer: a)

Explanation: kubectl scale deployment [name] –replicas=[number]. This command scales the number of replicas of a Kubernetes Deployment with the specified name to the specified number.

Related questions

0 votes
asked May 20, 2023 in CISA by Robindeniel
0 votes
asked Mar 24 in Kubernetes K8s by rajeshsharma
...