Search⌘ K
AI Features

Connect to the Application

Explore how to connect to applications running on Kubernetes by deploying and configuring Service objects. Understand how Services provide stable IP and port access to Pods, enabling communication within the cluster and from external clients. This lesson helps you grasp the role of Services in traffic routing and load balancing for containerized applications.

We'll cover the following...

We always connect to Pods through a Service.

A Service is a Kubernetes object designed to provide stable networking for Pods. As shown in the following figure, they have a frontend and a backend. The frontend provides a name, IP, and port that clients send requests to. The backend forwards these requests to Pods with matching labels.

NodePort service with three Pods
NodePort service with three Pods

We often use the term object when referring to things running on Kubernetes. We’ve already ...