Ingress & Load Balancing

Expose services using type=LoadBalancer or an Ingress controller.

Insert screenshot of Service β†’ type=LoadBalancer and Ingress here

Service (LoadBalancer)

apiVersion: v1
kind: Service
metadata:
  name: web
spec:
  type: LoadBalancer
  ports:
  - port: 80
    targetPort: 8080
  selector:
    app: web
  • Allocates an external IP on the LB

  • Health checks map to backend pod endpoints

Ingress (HTTP/S)

  • Use a controller (e.g., Nginx/HA proxy class)

  • TLS via secrets or cert manager

  • Supports host/path routing, canaries via annotations

Last updated

Was this helpful?