From the course: Debugging Kubernetes

Unlock this course with a free trial

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

Debugging unreachable Kubernetes Services

Debugging unreachable Kubernetes Services - Kubernetes Tutorial

From the course: Debugging Kubernetes

Debugging unreachable Kubernetes Services

- [Instructor] As we've seen in previous videos, most pods are accessed through Kubernetes Services. Services are Kubernetes resources that are purpose built to expose pods throughout and outside of clusters. While Services are usually straightforward and easy to use, things can go wrong with them sometimes. The three most common issues that you'll encounter with Services are either Services that are misconfigured, Kubernetes workers running out of ports to assign to quote unquote NodePort-type services, and quote unquote LoadBalancer-type services not receiving a load balancer from their cloud provider. In this course, we're mainly going to focus on the first issue. However, let's learn about the other two types of Services before we move on. NodePort Services map pods to a specific range of ports on nodes. This is very similar to the -p option when running docker run or docker container create. However, nodes can run out of ports to allocate to services. When this happens, your…

Contents