From the course: Debugging Kubernetes

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Solution: The flaky web app

Solution: The flaky web app - Kubernetes Tutorial

From the course: Debugging Kubernetes

Solution: The flaky web app

(bright music) - [Instructor] All right, let's fix this troublesome web app. To recap, we're supposed to be able to go to app.example.com, then click here and see something. However, we're not able to do so after deployment and we're trying to figure out why. The first thing that you should have noticed is that the link takes you to a /about/ page. Since this is a web app running within Kubernetes, we know that this is likely being served by an ingress. If that's true, then every single character in this address is important. So keep this in mind as you troubleshoot. Now, let's open up a terminal and see if this is actually an ingress that we're working with. I'm going to run kubectl, get ingress -A -O wide to see if this is indeed an ingress. I added a -A here in case the ingress was in a namespace other than default, but if you had excluded it, you still would've seen the same result. Now, I could have done network troubleshooting to rule out problems with the ingress controller…

Contents