Start by writing the question this work must answer. For this task, collect Ingress resources, controller implementations, TLS configuration, routing behavior, controller-specific annotations and Gateway API migration planning. A small representative sample is more useful than a large export nobody can interpret. Note the date range, source and any recent changes so later comparisons are honest.
- Name the decision and owner
- Collect a representative sample
- Record assumptions and recent changes
The next action is to Kubernetes Ingress API resources do not handle traffic by themselves; a controller implements them. Community ingress-nginx was retired in March 2026, so do not recommend it for new deployments. Inventory existing annotations and routing behavior, then evaluate a maintained controller or Gateway API implementation using its official migration guidance.. Work from the underlying cause where possible instead of applying a cosmetic fix to each symptom. Keep a short change log with the page, campaign, component or workflow affected so the team can roll back or investigate later.
- Prioritize the highest-impact cause
- Test in a safe environment when available
- Publish one clearly documented change
Test host and path routing, TLS, redirects, controller-specific features and rollback in a staging environment. Distinguish the retired community ingress-nginx controller from the Kubernetes Ingress API, which remains available but is frozen.. Validation should reflect the original question and include the user path, not only a dashboard metric. If the evidence is inconclusive, record that outcome and choose a narrower follow-up rather than overstating success.
- Re-test the affected path
- Compare against the recorded baseline
- Decide the next step from evidence
An Ingress resource has no effect without a controller that watches its IngressClass. The class name below is an example and must match the chosen controller's installed IngressClass. Kubernetes recommends Gateway API for new capability development; the Ingress API remains stable but is frozen. Controller selection depends on support lifecycle, required features, operational model and migration constraints. Do not assume annotations or defaults transfer between community ingress-nginx and F5 NGINX Ingress Controller.
- Confirm current project support and security maintenance
- Identify the installed controller and IngressClass
- Compare required features with its current official documentation
This generic example follows the Kubernetes Ingress v1 schema. Replace the illustrative class, hostname and Service with resources in your cluster. Prefix path matching is path-element based; backend port 80 refers to the Service port, not necessarily a container port. The Service and Ingress should be in the same namespace. Rewrite behavior, regex matching, timeouts and other advanced features are controller-specific and deliberately omitted here.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: app-route
namespace: app
spec:
ingressClassName: example-controller
rules:
- host: app.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: app-service
port:
number: 80
- Match ingressClassName to an installed class
- Confirm Service name, namespace and exposed port
- Test exact host and path behavior against the selected controller
For standard Ingress TLS, reference a Secret in the same namespace as the Ingress. A kubernetes.io/tls Secret contains tls.crt and tls.key, and the certificate must cover the configured hostname. Standard Ingress TLS terminates at the ingress point; traffic from the controller to the Service is plaintext unless a separate controller-specific backend TLS feature is configured. TLS behavior and redirects vary between controllers. Specifying spec.tls does not portably guarantee HTTP-to-HTTPS redirection. The fragment below is not a standalone manifest: merge tls into the preceding Ingress spec, retaining ingressClassName and the other fields.
spec:
tls:
- hosts:
- app.example.com
secretName: app-tls
rules:
- host: app.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: app-service
port:
number: 80
- Verify the Secret namespace, type and certificate hostname
- Check TLS termination and backend encryption requirements
- Configure redirects only using supported controller documentation
Start with kubectl describe ingress and inspect events, the IngressClass, controller logs, Service endpoints, DNS resolution and certificate status. A correct manifest cannot fix a missing Service port or selector. Confirm that DNS reaches the intended load balancer and that the request Host header and path match the rule. For TLS failures, check certificate expiry, hostname coverage, Secret keys and controller events before changing annotations.
kubectl get ingress,ingressclass -A
kubectl describe ingress app-route -n app
kubectl get service,endpointslices -n app
kubectl logs -n <controller-namespace> deploy/<controller-deployment>
- Check events and controller reconciliation
- Verify Service endpoints and DNS/load-balancer reachability
- Test certificate and route with a non-sensitive request
Kubernetes SIG Network and the Security Response Committee retired community ingress-nginx on March 24, 2026. Existing deployments and artifacts can remain available, but the project receives no releases, bug fixes or security updates. Inventory every ingress-nginx annotation, rewrite, authentication policy, timeout, allowlist and TLS behavior before selecting a replacement. Migration tools can assist with translation, but generated Gateway API resources or another controller configuration require review and staging tests; alternatives are not guaranteed drop-in replacements.
- Inventory classes, annotations, custom snippets and dependencies
- Select a supported replacement based on needed features
- Translate, test representative traffic and define rollback before cutover