DEV Community

Cover image for MicroK8s upgrade ingress from NGINX to Traefik
Sergio Peris
Sergio Peris

Posted on • Originally published at sertxu.dev

MicroK8s upgrade ingress from NGINX to Traefik

The Kubernetes nginx-ingress is scheduled to be retired in March 2026, so Canonical’s MicroK8s team replaced Nginx with Traefik for its ingress addon.

If you’re running a MicroK8s cluster with the Nginx ingress, you may want to upgrade it.

First, you need to disable the ingress addon to remove the old Nginx ingress.

microk8s disable ingress
Enter fullscreen mode Exit fullscreen mode

Then, you should update the core addons repository.

microk8s addons repo update core
Enter fullscreen mode Exit fullscreen mode

Finally, you can enable the new Traefik ingress.

microk8s enable ingress
Enter fullscreen mode Exit fullscreen mode

The Traefik ingress is compatible with your previous Nginx configuration, so all your sites and services should work fine.

Top comments (0)