In a recent post I talked about setting up a k3s cluster with IPv6 enabled and High Availability. The next upgrade is making the applications we are going to deploy in our cluster accessible from the outside world !
In this write-up we'll see how to setup 2 important things in Kubernetes clusters:
- LoadBalancer: Uses an IP external to the cluster to redirect traffic to an application internally.
- Ingress-Controller: Serves as a reverse-proxy to redirect traffic to application based on rules like DNS entries.
Combining a LoadBalancer and a Ingress-Controller allows us to redirect traffic coming from outside of our cluster to internal applications using specific rules.