Hello all, with the announcement of the NGINX Ingr...
# general
b
Hello all, with the announcement of the NGINX Ingress retirement -- https://kubernetes.io/blog/2025/11/11/ingress-nginx-retirement/ I'm curious to understand how that will impact the NGINX Ingress versions supported in Rancher.
c
Rancher itself can be deployed behind any ingress controller, it does not depend on ingress-nginx or anything else specific.
K3s has always included only Traefik. Rke2 includes both ingress-nginx and traefik; we will probably move towards making Traefik default soon.
πŸ‘ 2
j
Is there a chance Gateway API or anything else than Traefik will be considered as an option? I have had to move from Traefik to Ngnix in the past because it was more flexible and I fear some regression situations.
πŸ‘ 1
c
Traefik is also a Gateway API controller
Gateway is an API like Ingress, not a project or controller.
j
But they can't coexist, am I wrong?
c
What?
It's a totally separate thing. That's saying Deployments and DaemonSets can't coexist.
You can have both in the same cluster, you can even have multiple controllers for each in the same cluster, as long as you configure things properly.
j
I guess that's my problem then. 😁 Thanks.
m
Hello, I'm joining this thread and would like to clarify a few questions so as not to create additional issues on GitHub. I've been using Rancher since version 2, and I really like the convenience of ingress and web-based configuration of this functionality. I've always used ingress-nginx from the very beginning, but I have a question: 1. Is rancher UI suitable for configuring ingress, traefik, envoy, or any other things other than ingress nginx (I think the answer to my question is yes, but I'm still clarifying it) 2. I'm not familiar with the gateway API, but I also want to clarify: does Rancher support this configuration in the web? For example, we use servicemonitor/podmonitor and write our own manifests for them, since this functionality is configured only via YAML files and doesn't work natively in the UI. Will there be similar issues with gapi, or are you planning to add any related functionality in future releases?
c
Please start a different thread for questions about gateway API.
m
sure, can forward this question to a general chat in that case
b
@creamy-pencil-82913 thanks for the response. I'm more interested around what Rancher will do going forward. We have the "built-in" NGINX Ingress that can be set on a new cluster build.
πŸ‘€ 1
That's the Rancher NGINX Image. rancher/nginx-ingress-controller:v1.12.1-hardened6 for example... I'm guessing this will be deprecated with the Kubernetes-Ingress-NGINX controller?
vs. the NGINX Ingress Controller Helm chart under Apps...
βœ… 1
I'm guessing the NGINX Ingress Controller Helm chart is the open source controller provided by F5?
f
Following this thread. Really interested to se what happens here.
i think that a nice traefik button would be nice in the GUI when deploying clusters etc πŸ™‚
c
c
This is good info, thanks all. Does anyone have a guide on how to enable Traefik in the open source rke2? Is this post all there is to it, aside from editing existing ingresses of course https://github.com/rancher/rke2/issues/5928#issuecomment-2675960786 Tried this and it seemed to work, had to edit existing ingresses to specify ingressClassName as traefik
πŸ™Œ 1
f
Nice with the issue tracking on Github. What i understand you can enable traefik when running native RKE2 by changeing the configfile on each host. But when running RKE2 with rancher there is now way to do that. I deployed rancher trough fleet and disabled nginx-ingress in cluster config:
Copy code
defaultNamespace: kube-system
helm:
  releaseName: traefik
  repo: <https://traefik.github.io/charts>
  chart: traefik
  version: 37.3.0
  values:
    deployment:
      replicas: 3
    providers:
      kubernetesCRD:
        enabled: true
        allowCrossNamespace: false
      kubernetesIngress:
        enabled: true
        publishedService:
          enabled: true
    ingressClass:
      enabled: true
      isDefaultClass: false
    service:
      type: LoadBalancer
      annotations:
        <http://service.antrea.io/external-ip-pool|service.antrea.io/external-ip-pool>: "antrea-ip-pool"
      spec:
        loadBalancerIP: x.x.x.x # <<-- CHANGE THIS
    ports:
      web:
        port: 80
        exposedPort: 80
      websecure:
        port: 443
        exposedPort: 443
        tls:
          enabled: true
    logs:
      general:
        level: INFO
      access:
        enabled: true
πŸ‘ 2
g
Hello, is there way how to enable both ingress controller - nginx as default and traefik as second one?
727 Views