Opiniones sobre Crea e implementa una imagen de Docker para un clúster de Kubernetes: lab de desafío

33440 opiniones

Devanshu B. · Se revisó hace 6 días

Vashu G. · Se revisó hace 6 días

Razaul B. · Se revisó hace 6 días

Sanjoy P. · Se revisó hace 6 días

Lee D. · Se revisó hace 6 días

Vidya S. · Se revisó hace 6 días

Devi Sharan G. · Se revisó hace 6 días

Apurba M. · Se revisó hace 6 días

Meet J. · Se revisó hace 6 días

prince k. · Se revisó hace 6 días

Nidhi T. · Se revisó hace 6 días

Ketan G. · Se revisó hace 6 días

# Extract region from zone (e.g., us-central1-a → us-central1) REGION="${ZONE%-*}" # Create GKE cluster gcloud beta container clusters create "echo-cluster" --project "$DEVSHELL_PROJECT_ID" --zone "$ZONE" --no-enable-basic-auth --cluster-version "latest" --release-channel "regular" --machine-type "e2-standard-2" --image-type "COS_CONTAINERD" --disk-type "pd-balanced" --disk-size "100" --metadata disable-legacy-endpoints=true --scopes "https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly","https://www.googleapis.com/auth/trace.append" --num-nodes "3" --logging=SYSTEM,WORKLOAD --monitoring=SYSTEM --enable-ip-alias --network "projects/$DEVSHELL_PROJECT_ID/global/networks/default" --subnetwork "projects/$DEVSHELL_PROJECT_ID/regions/$REGION/subnetworks/default" --no-enable-intra-node-visibility --default-max-pods-per-node "110" --security-posture=standard --workload-vulnerability-scanning=disabled --no-enable-master-authorized-networks --addons HorizontalPodAutoscaling,HttpLoadBalancing,GcePersistentDiskCsiDriver --enable-autoupgrade --enable-autorepair --max-surge-upgrade 1 --max-unavailable-upgrade 0 --enable-managed-prometheus --enable-shielded-nodes --node-locations "$ZONE" # Set project ID export PROJECT_ID=$(gcloud info --format='value(config.project)') # Configure Docker auth gcloud auth configure-docker # Download and extract application gsutil cp gs://${PROJECT_ID}/echo-web.tar.gz . tar -xvzf echo-web.tar.gz cd echo-web # Build Docker image docker build -t echo-app:v1 . # Tag and push image docker tag echo-app:v1 gcr.io/${PROJECT_ID}/echo-app:v1 docker push gcr.io/${PROJECT_ID}/echo-app:v1 # Connect to cluster gcloud container clusters get-credentials echo-cluster --zone=$ZONE # Deploy application kubectl create deployment echo-app --image=gcr.io/${PROJECT_ID}/echo-app:v1 # Expose service kubectl expose deployment echo-app --name echo-web --type LoadBalancer --port 80 --target-port 8000 # Get external IP kubectl get service echo-web

Pushkar t. · Se revisó hace 6 días

Rajdeep S. · Se revisó hace 6 días

Jerzayl B. · Se revisó hace 6 días

Oleg N. · Se revisó hace 6 días

AMIT K. · Se revisó hace 6 días

Sayan B. · Se revisó hace 6 días

siddhi k. · Se revisó hace 6 días

Mayuresh K. · Se revisó hace 6 días

Kundan P. · Se revisó hace 6 días

Shoyeb Mahmud G. · Se revisó hace 6 días

Shubham G. · Se revisó hace 6 días

Subha P. · Se revisó hace 6 días

Dileep B. · Se revisó hace 6 días

No garantizamos que las opiniones publicadas provengan de consumidores que hayan comprado o utilizado los productos. Google no verifica las opiniones.