Member-only story
Understanding Kubernetes: Part 17 -Ingress
If you’ve been following our Kubernetes series 2025, welcome back! For new readers, check out Part 16: Understanding Kubernetes: Load Balancer Service
📖 Not a Medium member? No worries! Here’s the free link: Part 17 — Ingress
What is Ingress in Kubernetes?
An Ingress in Kubernetes is an API object that manages external access to services within a cluster, typically HTTP and HTTPS traffic. Unlike a LoadBalancer service, which exposes an application using an external IP, Ingress provides routing rules to direct traffic to different services based on paths or hostnames. It acts as a Layer 7 (HTTP/HTTPS) load balancer and can provide features such as SSL termination, name-based virtual hosting, and more.
Example Use Case:
Suppose you have multiple microservices (e.g., web
, api
, admin
) running in your cluster, and you want to expose them under a single domain name (example.com
). An Ingress can route requests like:
example.com/web
→ Routes to theweb
serviceexample.com/api
→ Routes to theapi
serviceexample.com/admin
→ Routes to theadmin
service
Capabilities:
- Path-Based and Host-Based Routing: