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
In setups with Traefik Ingressroutes, a LoadBalancer is deployed by Traefik. When Cuber installs its own one next to it, is is ignored as long as the one that is already active has bound the external ports already. As soon as Traefik is restarted however, the dormant Cuber managed LoadBalancer pops to life which leads to all IngressRoutes being ignored.
Setting ingress: true in the Cuberfile leads to an Ingress living next to the Ingressroutes which then acts as a default catch for all requests that are not matched by Traefik, which is dangerous in case certain paths are protected by middlewares Ingressroutes rules.
For such setups, the only sane thing is not to touch the ingress side at all and deploy neither a LoadBalancer nor an Ingress, but there is currently no option to do that. Could that be added?
The text was updated successfully, but these errors were encountered:
I actually ran into this too while getting my rails app deployed on a k3s cluster.
My workaround was to deploy it with a basic ClusterIP service and wire up the ingress myself outside of Cuber.
I opened a PR with the changes I made, #19. Let me know what you think and feel free to close it out if it doesn't make sense to add to the main project. 🙂
In setups with Traefik Ingressroutes, a
LoadBalancer
is deployed by Traefik. When Cuber installs its own one next to it, is is ignored as long as the one that is already active has bound the external ports already. As soon as Traefik is restarted however, the dormant Cuber managedLoadBalancer
pops to life which leads to allIngressRoutes
being ignored.Setting
ingress: true
in theCuberfile
leads to anIngress
living next to theIngressroutes
which then acts as a default catch for all requests that are not matched by Traefik, which is dangerous in case certain paths are protected by middlewaresIngressroutes
rules.For such setups, the only sane thing is not to touch the ingress side at all and deploy neither a
LoadBalancer
nor anIngress
, but there is currently no option to do that. Could that be added?The text was updated successfully, but these errors were encountered: