Ingress and ingress controller

What is Ingress?
In simple terms, Ingress is an API object in Kubernetes that manages external access to your services, typically over HTTP/HTTPS. Instead of exposing each service with a separate Load Balancer or Node Port, Ingress lets you define rule…


This content originally appeared on DEV Community and was authored by Srinivas Ettedi

What is Ingress?
In simple terms, Ingress is an API object in Kubernetes that manages external access to your services, typically over HTTP/HTTPS. Instead of exposing each service with a separate Load Balancer or Node Port, Ingress lets you define rules to route traffic based on hostnames, paths, etc.

Example:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: example-ingress
spec:
rules:
- host: app.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: my-app-service
port:
number: 80

⚙️ What is an Ingress Controller?
Ingress is just a set of rules. To enforce those rules, you need an Ingress Controller — a specialized LoadBalancer running inside your cluster. It listens to changes in Ingress resources and updates its config accordingly.

Popular Ingress Controllers:

NGINX Ingress Controller (most widely used)

Traefik

HAProxy

Istio Gateway (if you're using service mesh)

🚦Why Use Ingress?
✅ Centralized traffic management

✅ SSL/TLS termination (HTTPS)

✅ Path-based or host-based routing

✅ Easy integration with Let's Encrypt (via cert-manager)

✅ Clean URLs and security policies

🔐 Pro Tip: Secure Your Ingress
Use TLS with certificates (automated via cert-manager)

Limit access with annotations or network policies

Use external authentication (OAuth2 proxy, SSO)

Enable rate-limiting and Web Application Firewall (WAF)

🛠 Common Issues
❌ Ingress resource created but not working? Check if an Ingress Controller is deployed!

🔄 Changed Ingress config not updating? Look at the controller logs (kubectl logs ).

📶 404 errors? Check your paths, service names, and port definitions.


This content originally appeared on DEV Community and was authored by Srinivas Ettedi


Print Share Comment Cite Upload Translate Updates
APA

Srinivas Ettedi | Sciencx (2025-07-21T09:41:18+00:00) Ingress and ingress controller. Retrieved from https://www.scien.cx/2025/07/21/ingress-and-ingress-controller/

MLA
" » Ingress and ingress controller." Srinivas Ettedi | Sciencx - Monday July 21, 2025, https://www.scien.cx/2025/07/21/ingress-and-ingress-controller/
HARVARD
Srinivas Ettedi | Sciencx Monday July 21, 2025 » Ingress and ingress controller., viewed ,<https://www.scien.cx/2025/07/21/ingress-and-ingress-controller/>
VANCOUVER
Srinivas Ettedi | Sciencx - » Ingress and ingress controller. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/07/21/ingress-and-ingress-controller/
CHICAGO
" » Ingress and ingress controller." Srinivas Ettedi | Sciencx - Accessed . https://www.scien.cx/2025/07/21/ingress-and-ingress-controller/
IEEE
" » Ingress and ingress controller." Srinivas Ettedi | Sciencx [Online]. Available: https://www.scien.cx/2025/07/21/ingress-and-ingress-controller/. [Accessed: ]
rf:citation
» Ingress and ingress controller | Srinivas Ettedi | Sciencx | https://www.scien.cx/2025/07/21/ingress-and-ingress-controller/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.