Solved

You Have a Dockerfile That You Need to Deploy on Kubernetes

Question 133

Multiple Choice

You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?


A) Use kubectl app deploy <dockerfilename>. Use kubectl app deploy <dockerfilename>.
B) Use gcloud app deploy <dockerfilename>. gcloud app deploy <dockerfilename>.
C) Create a docker image from the Dockerfile and upload it to Container Registry. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file. Create a docker image from the Dockerfile and upload it to Container Registry. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file.
D) Create a docker image from the Dockerfile and upload it to Cloud Storage. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file. Create a docker image from the Dockerfile and upload it to Cloud Storage. Create a Deployment YAML file to point to that image. Use

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions