IBM Cloud Platform as a Service

IBM Cloud Platform as a Service

Join us to learn more from a community of collaborative experts and IBM Cloud product users to share advice and best practices with peers and stay up to date regarding product enhancements, regional user group meetings, webinars, how-to blogs, and other helpful materials.

 View Only

Traefik is now generally available on IBM Cloud Kubernetes Service

By Dávid Péter Bartos posted 07/09/26 02:28 PM

  

Written by

Balázs Szekeres, Senior Kubernetes Service Engineer @ IBMCloud
Marcell Pünkösd, Senior Kubernetes Service Engineer @ IBMCloud
Dávid Bartos, Technical Lead @ IBMCloud


Previously we shared our plans for the future of the IBM Cloud Kubernetes Service managed Ingress controller. We then introduced the preview release, inviting early adopters to experiment and share feedback.

Today we are hitting that second milestone. Traefik is now generally available in the IBM Cloud Kubernetes Service.

Getting started

Full documentation on testing and migrating to Traefik is available in our docs. This includes step-by-step guides for both Classic and VPC infrastructure, domain configuration, and Ingress resource setup. We strongly encourage you to read through the migration guide before making changes to production workloads.

High-level overview of migration

Migrating from Ingress-NGINX to Traefik will not be initiated by IBM on the individual clusters. This task is up to the cluster administrator to plan and carry out. Traefik is delivered as a separate Ingress Controller version, and until the sunset of Ingress-NGINX both controller versions will be available (even after Ingress-NGINX is marked as deprecated in September). During this time we highly encourage our users to make the move to ensure seamless operations.

Switching between versions will involve disabling the ALB that is running Ingress-NGINX. This will remove all related resources from the cluster. After that the same ALB can be re-enabled with a Traefik version that deploys all resources needed for Traefik to run on the cluster. This operation disrupts the traffic to that single ALB.

To ensure availability during the switchover, instead of disabling and then re-enabling the same ALB, we recommend creating a new Traefik-based ALB on the cluster first. This allows testing Traefik before switching over to it, as well as during the switchover traffic can be directed from one ALB to the other which prevents disruption. This operation is different between Classic and VPC gen 2 clusters.

On Classic clusters each ALB deployment has a LoadBalancer type of Service deployed for them on the cluster. This results in each ALB having its own IP address. These IP addresses are registered in DNS automatically, as long as all ALBs are running on the same type of Ingress Controller (as in Traefik or Ingress-NGINX). Once a new ALB is enabled or created with a different type of Ingress Controller, then DNS registration is paused to prevent unintended disruption to traffic.

At this point, to test Traefik, we recommend creating a new DNS domain name, and manually registering the IP address that belongs to the Traefik-based ALB to it. This way applications can be exposed on a different domain for testing. Depending on the applications, this testing and verification can be done by deploying a different set of the same application (with possibly different config), or creating only a new set of Ingress resources that are exposing the same services, but specifies the Ingress Class (and domain) exposed by Traefik. At this point tweaking the Ingress resources as well the ALB configuration, will probably be required depending on the setup. We have prepared a documentation to aid in this process, and we also recommend checking out Traefik's documentation on Ingress.

As a quick stop-gap solution, Traefik provides an Ingress-NGINX compatibility layer. This allows using the Ingress-NGINX annotations on Ingress resources with some limitations. We also added support for this compatibility layer, which can be configured using the Customizable Deployment ConfigMap. However, keep in mind this is not recommended as a long-term solution. Also, when an ALB is using this compatibility layer, it is not processing Traefik's own annotations.

A similar testing and verification approach can be set up for VPC gen 2 clusters. The difference on VPC gen 2 clusters, is that all ALB deployments are exposed through the same LoadBalancer type of Service. When creating or enabling a new Traefik-based ALB, the already existing LoadBalancer will not expose it by default. At this point, a new LoadBalancer Service can be created with its selector configured to expose Traefik-based ALBs. Unlike on Classic, VPC gen 2 LoadBalancers has domain names instead of IP addresses, but a new DNS domain name can still be created regardless, which will use a CNAME record to the LoadBalancer's domain name. After that, testing and verification is the same as described for Classic.

If the verification is proven to be successful, and everything is ready for switching over traffic to Traefik, on Classic the DNS domain names can be updated to point to the LoadBalancer Services exposing Traefik (disabling Ingress-NGINX based ALBs will trigger the same DNS update, but that makes rolling back the changes take a longer time). On VPC gen 2, keeping the manually created test LoadBalancer service is not supported, instead the automatically provisioned Load Balancer service should be updated to expose Traefik-based ALBs instead by using the IBM Cloud CLI.

After that's done, the LoadBalancer Service used for testing on VPC gen 2 clusters and the DNS domain names for both cluster types can be safely deleted.

We only described one of the possible scenarios to facilitate the transition. For a detailed, step-by-step guide on this and other approaches please follow our official migration guide.

What to expect for new clusters

Starting in September, new IBM Cloud Kubernetes Service clusters will be provisioned with Traefik as the default Ingress Controller. Until then, they'll still come up with Ingress-NGINX Controllers.

Ingress-NGINX deprecation

Both Ingress-NGINX and Traefik will remain available for provisioning throughout 2026, but Traefik is now the preferred and more actively supported option. In September, after changing the default ingress controller to Traefik, we will begin the formal deprecation of the Ingress-NGINX Controller in the IBM Cloud Kubernetes Service. Ingress-NGINX will reach end of life by the end of January, 2027. After end of life, already-running Ingress Controllers will continue to work, but IBM will not provide vulnerability updates or support for ALBs using them. New ALBs will not be available for provisioning with Ingress-NGINX — this includes creating new ALBs and enabling disabled ones.

If you are still running Ingress-NGINX, now is a good time to start planning your migration. Our documentation includes everything you need to get started.

Unsupported features

While Traefik does support the following features natively, we want to note that they are not supported in the IBM Cloud Kubernetes Service:

- Traefik Web UI — The Traefik dashboard cannot be configured or enabled in IBM Cloud Kubernetes Service. There are no plans to add support for it.
- Traefik Plugins — Traefik plugins cannot be configured or used in the IBM Cloud Kubernetes Service. There are no plans to add support for them.
- ACME Certificate Solver — Traefik's built-in ACME solver cannot be configured or used in the IBM Cloud Kubernetes Service. There are no plans to add support for it.

There are also a number of Ingress-NGINX-specific configurations that do not carry over to Traefik, such as the ibm-k8s-controller-config ConfigMaps. Refer to the documentation for guidance on achieving equivalent functionality with Traefik.

Closing

Thank you to everyone who participated in the preview phase and provided feedback — it has been invaluable in getting us to this point.

If you run into any issues or have questions during your migration, please reach out to us via a support ticket or leave a comment below.
0 comments
144 views

Permalink