The Ultimate DevOps Bootcamp

Hello - I am working on Section 27 - 149 Demo - Deploying voting app on Kubernetes on the Ultimate DevOps Bootcamp from Udemy.

After create the pods and services, I am getting the “Internal Server Error - The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.” when casting a vote from the “voting-app” page.

Am I missing something?

Hope you can help shed a light here.

Thanks.
Mark

See screenshot below showing all pods and services were created. Also, the URL from the voting and result services.

Hi @MarkLMValencia

Could you please share the KodeKloud lab link? I tried searching for it using the lab name, but I couldn’t find it.

Hi @raymond.baoly - thanks for reaching out. It’s not a lab work but a demo on a lesson about deploying Microservices on Kubernetes. I enrolled the course via Udemy but the actual course is from KodeKloud.

Not sure if you can open it but here is the link of the demo that I am following:

https://www.udemy.com/course/the-complete-devops-bootcamp/learn/lecture/28993534#questions

Also, this is sample screenshot of the demo.

Hi @MarkLMValencia

Thanks for your detailed feedback. The problem is likely with the pod. You should check the pod’s logs and make sure it’s working properly inside the Kubernetes cluster. You can test it first by using the pod’s IP before exposing it with the minikube service command.

Hi @raymond.baoly - I decided to just recreate my project and it is now working. Thanks for your time looking on this. For reference, I updated my files as well using this git repository.

Then, I have updated the postgres-deployment.yml file and added the following on the env section:

name: POSTGRES_HOST_AUTH_METHOD
value: trust