Thomas Peitz

Did an upgrade of the NGINX Ingress Controller and it was easier then I thought.

If you want to migrate to v1.0.0 every ingress resources needs to be first on the new apiVersion “networking.k8s.io/v1” and your Kubernetes cluster must be at least on minor version 19 (v1.19.x).

The annotation “kubernetes.io/ingress.class” is now deprecated and replaced via ingressClassName.

See a small example here:

If you use the newest helm release (https://github.com/kubernetes/ingress-nginx/releases/tag/helm-chart-4.0.1) it will automatically create the ingressClass resource for you (kt is an alias to kubectl with a specific context for me)

--

--

Thomas Peitz

Thomas Peitz

Cloud Architect - #DevOps, #Linux, #Docker, #AWS, #OpenSource, #Arduino, #Bitcoin