From the course: Debugging Kubernetes
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Conquering DNS misconfigurations within Pods - Kubernetes Tutorial
From the course: Debugging Kubernetes
Conquering DNS misconfigurations within Pods
- [Instructor] Ah, DNS, the cause and solution of all networking problems. Now imagine this, you've just deployed your app into a Kubernetes-powered integration environment for final testing before a release. Since all of your tests passed locally, you're expecting these tests to easily pass. A few minutes later you get an email telling you that your tests have failed. How could this happen? Upon looking at logs generated during your CI/CD pipeline, you see lots of errors that look like this NXDOMAIN error that you see here. But how is this possible? DNS was working just fine locally and in our dev environment. Well, there are a million reasons why you might find yourself in this situation outside of Kubernetes. But within Kubernetes, there are usually three common causes. Either the pod has a custom but broken DNS configuration, the pod is running an older version of Alpine Linux that doesn't play nicely with DNS within Kubernetes, or DNS within the cluster is just plain broken. Just…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Conquering DNS misconfigurations within Pods11m 19s
-
(Locked)
Debugging Pods running outdated Alpine Linux5m 29s
-
(Locked)
Conquering CoreDNS and other DNS issues5m 51s
-
(Locked)
Troubleshooting Pod networking7m 50s
-
(Locked)
Troubleshooting NetworkPolicies5m 19s
-
(Locked)
Debugging unreachable Kubernetes Services6m 56s
-
(Locked)
Solving failing Ingress resources10m 24s
-
(Locked)
Troubleshooting Ingress resources with unavailable services2m 37s
-
(Locked)
Debugging aggressive ingress path types4m 32s
-
(Locked)
Challenge: The flaky web app59s
-
(Locked)
Solution: The flaky web app5m 42s
-
(Locked)
-
-