Which command is used to deploy an application in Kubernetes?
a) kubectl create deployment
b) kubectl deploy app
c) kubectl deploy pod
d) kubectl build app
Answer:
a) kubectl create deployment
Explanation:
The kubectl create deployment
command is used to create a new deployment for an application in Kubernetes.