0 votes
in Kubernetes K8s by

What is the command to create a Kubernetes Deployment?

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

b) kubectl create -f deployment.yaml

c) kubectl apply -f deployment.yaml

d) kubectl create deploy [name] –image=[image]

1 Answer

0 votes
by

Answer: a)

Explanation: kubectl create deployment [name] –image=[image]. This command creates a new Kubernetes Deployment with the specified name and container image.

Related questions

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