GCP ACE · Question 23 · Domain 3.2: Deploying and implementing GKE resources
You have successfully created a GKE cluster and configured your local kubectl to connect to it. You have a container image named gcr.io/my-project/my-app:v1.
Which command should you use to deploy this image to your cluster as a Deployment?
Answer options:
gcloud container deploy my-app --image=gcr.io/my-project/my-app:v1
kubectl run my-app --image=gcr.io/my-project/my-app:v1
kubectl create deployment my-app --image=gcr.io/my-project/my-app:v1
docker run -d gcr.io/my-project/my-app:v1
50 questions · hints · full answers · grading