menu

Créer une image Docker et la déployer dans un cluster Kubernetes

Go to Lab

4331 Reviews

Jery O. · Reviewed environ une heure ago

Abdul M. · Reviewed environ 2 heures ago

Pawan K. · Reviewed environ 3 heures ago

Tried it 5th time now. but the test isn't passing the steps inspite of the fact that i am able to get the ultimate task complete. ------------------------- not sure why bellow didnt work export PROJECT_ID=$(gcloud info --format='value(config.project)') gsutil cp gs://${PROJECT_ID}/echo-web.tar.gz . tar -xvzf echo-web.tar.gz docker build -t gcr.io/${PROJECT_ID}/echo-app:v1 . docker push gcr.io/${PROJECT_ID}/echo-app:v1 gcloud container clusters get-credentials echo-cluster --region us-central1-a kubectl create deployment echo-web --image=gcr.io/${PROJECT_ID}/echo-app:v1 kubectl expose deployment echo-web --type=LoadBalancer --port 80 --target-port 8080 ---------------------------------- however this worked(provided by training support team) 1. For the objective An application image with a v1 tag has been pushed to the gcr.io repository, execute the following commands in the Cloud Shell: Build Docker image with tag V1 using the command: gsutil cp gs://sureskills-ql/challenge-labs/ch04-kubernetes-app-deployment/echo-web.tar.gz . Extract downloaded zip using the commands: tar -xvf echo-web.tar.gz gcloud builds submit --tag gcr.io/$DEVSHELL_PROJECT_ID/echo-app:v1 . Push image to container registry using the command: gcloud docker -- push gcr.io/$DEVSHELL_PROJECT_ID/echo-app:v1 2. For A new Kubernetes cluster exists, execute the following command: Create Kubernetes cluster using the command: gcloud container clusters create echo-cluster --zone us-central1-a 3. For Check that an application has been deployed to the cluster, execute the following command: Deploy application to Kubernetes cluster using the command: kubectl run echo-app --image=gcr.io/$DEVSHELL_PROJECT_ID/echo-app:v1 --port=8000 4. For the objective Test that a service exists that responds to requests like Echo-app, execute the following commands: Expose app to allow external access using the command: kubectl expose deployment echo-app --name=echo-app --type=LoadBalancer --port=80 --target-port=8000

Varun R. · Reviewed environ 16 heures ago

Tried it 5th time now. but the test isn't passing the steps inspite of the fact that i am able to get the ultimate task complete.

Varun R. · Reviewed environ 16 heures ago

Somwut J. · Reviewed environ 19 heures ago

Sebastian T. · Reviewed 1 jour ago

Bill F. · Reviewed 2 jours ago

Stefan G. · Reviewed 2 jours ago

Spiro K. · Reviewed 2 jours ago

Spiro K. · Reviewed 2 jours ago

Spiro K. · Reviewed 2 jours ago

Spiro K. · Reviewed 2 jours ago

Jaime F. · Reviewed 2 jours ago

Rommy P. · Reviewed 2 jours ago

Jaime F. · Reviewed 2 jours ago

Spiro K. · Reviewed 3 jours ago

Spiro K. · Reviewed 3 jours ago

Spiro K. · Reviewed 3 jours ago

Chee Cheow G. · Reviewed 3 jours ago

Durgaprasad V. · Reviewed 3 jours ago

Followed the instruction and completed successfully - can call the app and see the output successfully. But only got 50/100. The score is not correct.

Valentine W. · Reviewed 3 jours ago

Byungjun K. · Reviewed 4 jours ago

Kafeel K. · Reviewed 4 jours ago

Arjun K. · Reviewed 5 jours ago