You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#10434 was closed before being fully resolved. I cannot reopen it and it seems noone will follow up since it is closed and marked done, so I am opening a new issue...
I downloaded K3S's code and it looks like the problem is that the k3s code is only selecting nodes for LoadBalancer
and if we check the "traefik" service that k3s installs, its LoadBalancer part doesn't have a svccontroller.k3s.cattle.io/lbpool (so it picks all nodes).
So, in other words, that cannot work and that is not the behavior we are expecting. Even the person that replied to the other issue pointed to the documentation saying that it should work.
It seems I would need to:
disable traefik
install traefik myself with
2 services:
traefik-tor1_1 : with svccontroller.k3s.cattle.io/lbpool=tor1_1
traefik-fra1_1 : with svccontroller.k3s.cattle.io/lbpool=fra1_1
2 Ingress classes
traefik-tor1_1
traefik-fra1_1
Then, I will be able to set on my Ingress the ingressClassName for the right load-balancer pool to use.
You might consider automatically doing that. For instance, when svccontroller.k3s.cattle.io/enablelb=true, you could split traefik like that.
What do you think?
The text was updated successfully, but these errors were encountered:
it seems noone will follow up since it is closed and marked done
Please don't open a new issue, keep discussion on that one. No one is responding because it's the weekend and we (generally speaking) have other things to do with our lives outside working hours.
#10434 was closed before being fully resolved. I cannot reopen it and it seems noone will follow up since it is closed and marked done, so I am opening a new issue...
I downloaded K3S's code and it looks like the problem is that the k3s code is only selecting nodes for LoadBalancer
and if we check the "traefik" service that k3s installs, its LoadBalancer part doesn't have a
svccontroller.k3s.cattle.io/lbpool
(so it picks all nodes).So, in other words, that cannot work and that is not the behavior we are expecting. Even the person that replied to the other issue pointed to the documentation saying that it should work.
It seems I would need to:
svccontroller.k3s.cattle.io/lbpool=tor1_1
svccontroller.k3s.cattle.io/lbpool=fra1_1
Ingress
theingressClassName
for the right load-balancer pool to use.You might consider automatically doing that. For instance, when
svccontroller.k3s.cattle.io/enablelb=true
, you could split traefik like that.What do you think?
The text was updated successfully, but these errors were encountered: