Ingress
Part of the Kubernetes course
You can already get traffic into the cluster. NodePort opens a high-numbered port on every node; LoadBalancer asks your cloud provider for a public IP. Both work, and both scale badly in the same way: every application needs its own port or its own load balancer, so five apps means five IPs to remember, five certificates to install somewhere, and five bills.
That is an HTTP-level routing decision, and Service cannot make it. A Service works at the level of IP addresses and ports, and it has no idea what a hostname or a URL path is, because that information only exists inside the HTTP request. Ingress is the layer that reads the request and routes on its contents. ...
Want to learn Kubernetes Ingress in a real environment?
Click below, get a fresh Linux box with Kubernetes ready to go, and work through Ingress hands-on with an AI tutor that knows your code.
Start this lessonIngressWhat you'll learn
- Ingress controller
- Ingress manifest
- Host and path rules
- IngressClassName
- TLS via cert-manager
Read this lesson in your language
All lessons in this course
14 lessons- 1What is Kubernetes25 min
- 2Your First Pod30 min
- 3Deployments and ReplicaSets35 min
- 4Services35 min
- 5Probes and Self-Healing35 min
- 6ConfigMaps and Secrets35 min
- 7Volumes and Persistent Storage35 min
- 8Namespaces and Labels25 min
- 9Ingress35 min
- 10Helm Basics35 min
- 11Scaling and HPA30 min
- 12RBAC35 min
- 13Observability30 min
- 14Capstone: Deploy a Stack60 min
