MLEP Week 2 graded Lab

It takes for ever when “kubectl get deployments” is executed. I never get the status of the deployment to be available! Any hep please? No one seems to take a look at these boards.

NAME READY UP-TO-DATE AVAILABLE AGE
image-classifier 0/1 1 0 11m

Im not sure if there are enough mentors for this course because is a new course, but I think there is a problem with qwiklabs of google right now. They usually solve the issue in a couple of hours.

Thanks for the response. I am unable to execute the week 2 graded lab to completion. I cannot connect to the “external ip” of the service. It says, “permission denied”. The locust tool simply is sending messages to the service without getting any response. The dashboards show no progress regarding horizontal scaling of nodes.

As long as you havent done any mistakes you might need to wait for sometime and try again later on.

I have followed the instructions to the letter. I get a warning whenever I execute a kubectl command: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.
After this I have to wait forever for the status to be “available”.

Hi Vadiraj! Other learners have reported this issue as well and we are looking into it. Will give an update today. Sorry for the inconvenience!

Hello again! I’ve done the lab again and was able to successfully complete it. You can safely ignore the warning about using gcloud. Will raise that to the Qwiklabs team but it shouldn’t affect the processes in this lab.

Can you post what you see when you run this part of the lab: kubectl get svc image-classifier ? Also, are you running this in a private session? That helps in ensuring that there is only one Gmail account used in all tabs. It’s possible that your browser automatically switched you to your personal gmail. That’s an issue with Qwiklabs that opens new windows. Kindly check your profile icon in all tabs if it’s showing the student account and not your personal one.

As a sanity check, the lab has this command sequence to test your classifier before running locust:

EXTERNAL_IP=[YOUR_SERVICE_IP]
curl -d @locust/request-body.json -X POST http://${EXTERNAL_IP}:8501/v1/models/image_classifier:predict

Just remember to replace the [YOUR_SERVICE_IP] with what you see in the command earlier. If that returns predictions, then locust should also work.

The last checkpoint will not turn green unless the cluster creates 3 replicas. With that, you need to wait till locust simulates more users so a single pod gets overloaded and the node creates more pods. That is the main demo in this lab. It shows how you can avoid application failures by implementing autoscaling.

Hope these help!

Hi Chris,
Thanks for the response. Please give a couple of days for me to try this lab again. I will try out your suggestions and let you know here what I discover.

I will make sure that I am not logged in into any of my personal gmail accounts.

Also, when I key in the service ip, should it be in square brackets, ? For example,
EXTERNAL_IP=[129.0.0.1] or EXTERNAL_IP=129.0.0.1 ?

Thanks,
Vadiraj

I forgot to ask you another question. Is there a way to extend the deadline for labs? I feel that there are too many graded/ungraded labs to try out.

Hi! No prob. The external IP should be without brackets. As for the deadline, those are just suggestions. You can still do them even if they elapsed as long as you have an active subscription. Hope you get to complete them!

Thanks, Chris. I appreciate your help.

HI Chris,

I am doing this course through Siemens. It is supported by my company. Yet, I get this error when I try completing this lab.

“Lab failed on Fri, 08 Jul 2022 00:47:14 -0400: Deployment Manager error: On [/deployments/qldm-24751573-4dee178302143d77/resources/startup-vm]: [”{"ResourceType":"compute.v1.instance","ResourceErrorCode":"ZONE_RESOURCE_POOL_EXHAUSTED","ResourceErrorMessage":"The zone 'projects/qwikl… Any credits or tokens you used to start this lab have been refunded. "

Contacted Coursera help center through chat. They are of no help. They are asking us to contact QuikLabs directly. Not sure we should be doing that ourselves.

Any help?

Thanks,

Vadiraj

Hi Vadriaj. Yes please contact contact Qwiklabs because they have direct control over that. Please see the steps here for reference. Hope you get to retry the lab!

Hi Chris,
This is regarding the week 2 graded lab," Autoscaling TensorFlow Model Deployments with TF Serving and Kubernetes", over which we have had an earlier conversation in this thread.

I tried 3 times and still get stuck in the final step wherein I end up getting 90/100 despite following all the instructions to the letter. I have had an extensive chat with the Qwiklabs folks over this while running the lab. After they confirmed that there was nothing wrong I was doing, the agreed to let Coursera know that I completed the lab successfully and my grade should be 100/100. The reference number of my incidence report is 2609653. They asked me to check my grade’s status for this lab, on June 17th, 2022. I hope to see that reflected on the coursera page for this lab.

Hi I’m having the same issue


When I run

And this, there’s no section that explains what we should use as YOUR_SERVICE_IP

1 Like

This week, I got the same problem as you.

I tried running in a different region like mentioned here and it worked. Got 100/100.

Hope this can help other people.