Kubernetes: the basics

Lesson 03 · 13 min

Service and Ingress: how traffic reaches a Pod

ClusterIP, NodePort, LoadBalancer, ingress controller and DNS inside the cluster.

13 minLesson 3 of 5Practice includedAsk AI on any point

A Pod has an IP, but it changes every time the Pod is recreated, and there are several copies. Calling Pods directly is awkward and unreliable. A Service gives a group of Pods a stable name and a stable virtual IP and spreads requests across the ready Pods. A Service finds its Pods with a label selector, just like a Deployment.

Sign in to continue

The rest of this lesson opens after sign up

The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.