Kubernetes Tutorial — Part 8: Ingress Controllers and HTTPS

By Suraj Ahir March 29, 2026 8 min read

← Part 7 Kubernetes Tutorial · Part 8 of 12 Part 9 →
Kubernetes - Ingress Controllers and HTTPS
Kubernetes - Ingress Controllers and HTTPS

Services expose your application, but Ingress lets you route traffic based on hostnames and paths — api.example.com goes to the API, app.example.com goes to the frontend.

Install nginx-ingress
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm install nginx-ingress ingress-nginx/ingress-nginx
ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: app-ingress
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
  tls:
  - hosts:
    - app.example.com
    secretName: app-tls
  rules:
  - host: app.example.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: web-service
            port:
              number: 80

With cert-manager, Kubernetes automatically provisions and renews TLS certificates. In Part 9, we add health checks to make applications genuinely self-healing.

← Part 7 Kubernetes Tutorial · Part 8 of 12 Part 9 →
← Back to Blog
Disclaimer: This content is for educational purposes only. SRJahir Tech does not guarantee any specific outcome, job placement, or exam result. Learning requires consistent effort and practical application.