GoogleCloudPlatform / training-data-analyst

Labs and demos for courses for GCP Training (http://cloud.google.com/training).
Apache License 2.0
7.82k stars 5.84k forks source link

Lab Configuring Kubernetes Engine native Monitoring and Logging cant be completed #1250

Open lvalladares opened 3 years ago

lvalladares commented 3 years ago

The file training-data-analyst/courses/ak8s/v1.1/Monitoring/hello-v2.yaml has an error, when i try to apply the deployment with the command kubectl create -f hello-v2.yaml kubernetes throw this error:

error: unable to recognize "hello-v2.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"

In stackoverflow they say i should change apiVersion to apps/v1 (https://stackoverflow.com/questions/58481850/no-matches-for-kind-deployment-in-version-extensions-v1beta1) when i do this i can deploy the app but the step in the lab doesnt complete.

I write this here because i cant find the "Contact Us" button that appear on the help of Qwiklabs or any other way to contact them... So thats another bug that needs to be fixed.

EDIT: A Workaround is change the cluster creation command for this: gcloud container clusters create $my_cluster \ --num-nodes 3 --enable-ip-alias --zone $my_zone \ --cluster-version "1.14.10-gke.50" --enable-stackdriver-kubernetes

because with 1.14.10 version the file does work.

sanchezcl commented 3 years ago

Man! you're a hero without a cape! Thanks!