C4W3 Graded Lab Implementing Canary Releases of TensorFlow Model Deployments with Kubernetes and Anthos Service Mesh

Sending curl requests all ended up with the following ERROR:

curl: (6) Could not resolve host: v1

Hello @Peter_Grabner
What exact Lab Section you were working on when you encountered this error? & also please share the command/code snippet you ran so as to receive the above error.


Hello All,
facing an error in Task 3. Install an ingress gateway
step 4 : kubectl apply -n $GATEWAY_NS
-f samples/gateways/istio-ingressgateway

error: resource mapping not found for name: “istio-ingressgateway” namespace: “” from “samples/gateways/istio-ingressgateway/autoscaling-v2beta1.yaml”: no matches for kind “HorizontalPodAutoscaler” in version “autoscaling/v2beta1”
ensure CRDs are installed first.

@Isaak_Kamau If you could please help me out here.

Hello @Anshu_gangwar1
What is your “Istio Installation Status” you can run this command to check?

kubectl get svc -n istio-system

Also check out this thread: C4W3 Graded Lab Error on Task 3 -install ingress gateway

Thanks for the help, resolved the issue.
Successfully completed the lab.