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.

...