302 β€” Ingress and Load Balancing

Advanced

Master Kubernetes Ingress for HTTP/HTTPS routing, host and path-based routing, and TLS termination.

Learning Objectives

1
Install and configure an Ingress Controller
2
Create Ingress resources for HTTP routing
3
Configure host-based and path-based routing
4
Set up TLS/HTTPS with Ingress
Step 1

Enable Ingress Controller

Install NGINX Ingress Controller in your cluster.

Commands to Run

minikube addons enable ingress
kubectl get pods -n ingress-nginx

What This Does

Ingress Controller implements Ingress resources. NGINX Ingress Controller is the most popular option.

Expected Outcome

Ingress controller pods running in ingress-nginx namespace.

Pro Tips

  • 1
    Ingress resources need a controller to work
  • 2
    Popular controllers: NGINX, Traefik, HAProxy, AWS ALB
  • 3
    On cloud providers: use cloud-native controllers
  • 4
    Controller watches for Ingress resources and configures routing
Was this step helpful?

All Steps (0 / 10 completed)