- All Courses
- Kubernetes for Application Developers
- Getting Traffic In
- Ingress and routing
Lesson 2.1
Ingress and routing
An ingress is a routing rule set: this hostname and path go to that service.
6mIntermediate10k students
Overview
One entry point, many services
An ingress is a routing rule set: this hostname and path go to that service. Without it, every externally reachable service needs its own cloud load balancer, which is expensive and unwieldy.
The resource does nothing on its own — a controller running in the cluster watches ingress objects and configures a proxy. Which controller you run determines the annotations and features available to you.
Path matching rules are more precise than they look. Prefix and exact matching behave differently, and rewriting is controller-specific rather than part of the standard.
In this lesson you will:
- Route by host and path to services
- Understand the controller behind the resource
- Avoid one load balancer per service
Resources
Notes are not saved yet — they clear when you leave this page.
Previous Lesson
Namespaces and labels
9m
TLS and certificates
30m