menu

Docker 이미지를 빌드하여 Kubernetes 클러스터에 배포

Go to Lab

4328 리뷰

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. · 약 10시간전에 리뷰됨

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. · 약 11시간전에 리뷰됨

Somwut J. · 약 14시간전에 리뷰됨

Sebastian T. · 약 22시간전에 리뷰됨

Bill F. · 1일전에 리뷰됨

Stefan G. · 2일전에 리뷰됨

Spiro K. · 2일전에 리뷰됨

Spiro K. · 2일전에 리뷰됨

Spiro K. · 2일전에 리뷰됨

Spiro K. · 2일전에 리뷰됨

Jaime F. · 2일전에 리뷰됨

Rommy P. · 2일전에 리뷰됨

Jaime F. · 2일전에 리뷰됨

Spiro K. · 2일전에 리뷰됨

Spiro K. · 2일전에 리뷰됨

Spiro K. · 2일전에 리뷰됨

Chee Cheow G. · 3일전에 리뷰됨

Durgaprasad V. · 3일전에 리뷰됨

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. · 3일전에 리뷰됨

Byungjun K. · 4일전에 리뷰됨

Kafeel K. · 4일전에 리뷰됨

Arjun K. · 4일전에 리뷰됨

Shoaib M. · 4일전에 리뷰됨

point not updating in Test services

Shoaib M. · 5일전에 리뷰됨

Senthil Kumar S. · 5일전에 리뷰됨