KCNA · Container Orchestration · lesson 2 of 7

Service Types: ClusterIP, NodePort, and LoadBalancer

The three core Service types in Kubernetes — when to use each, how traffic flows, and how they expose workloads.

14 min · Exam domain: Container Orchestration (28%)

You deploy three replicas of a backend. Each Pod gets an IP. One Pod crashes and gets replaced. The new one has a different IP. Your frontend is now sending requests to an address that no longer exists.

Services solve this. A Service provides a stable virtual IP and DNS name that tracks healthy Pods as they come and go. The Kubernetes Networking Model article covered the flat network and CNI plugins. This article picks up the next layer: once Pods can reach each other, how do you give them stable addresses and expose them beyond the cluster? The three core Service types, ClusterIP, NodePort, and LoadBalancer, are part of the KCNA Container Orchestration domain (22% of the exam).

Enroll to read the rest of this lesson

Free. Your progress and certificate come with it.

Enroll, free