A step-by-step guide on using Kubernetes Ingress to expose services outside a cluster. Covers configuring local domain names in /etc/hosts, enabling the Nginx Ingress Controller addon on Minikube, deploying two versions of a Spring Boot app as ClusterIP services, and writing an Ingress manifest with both path-based and host-based routing rules. Includes working curl examples to verify the routing.

6m read timeFrom sivalabs.in
Post cover image
Table of contents
1. Configure Domain names in hosts file2. Deploy Ingress Controller on Kubernetes Cluster3. Deploy services4. Deploy Ingress Resources

Sort: