Solved

You Have a Dockerfile That You Need to Deploy on Kubernetes

Question 10

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents