-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable default backend #18
Comments
Hello @kjoller, right now we can not remove the backend section directly using Xposer, but it can be done. Do you plan to create a PR for it? |
@ahsan-storm I would like to give it a try, although Go is not my expertise. I would think to add it in the config something like this: domain: stakater.com
ingressURLTemplate: "{{.Service}}.{{.Namespace}}.{{.Domain}}"
ingressURLPath: /
ingressNameTemplate: "{{.Service}}"
tls: false
defaultBackend: false Would that, in your opinion be the proper place for it? I have currently created a private version with the backend section violently ripped out. It seems to work find with both nginx and traefik ingress controllers. I am not sure why it would be needed anywhere, but I am not going to claim deep knowledge in the field. |
@kjoller i see you made changes in your fork; i wonder if you would like to make a PR for this change? |
Hello, I am currently experimenting with Xposer running with Træfik as my ingress controller.
However, when I have multiple services defined with
expose: "true"
, I have Traefik acting up, due to the default backend defined in the Xposer-generated ingress. I am flooded with these log messages:The advice in traefik/traefik#4266 is to remove the
backend
-section directly belowspec:
in the ingress, thereby changin: this:into this:
Is this possible to do in Xposer, or is there another solution to this problem (other than using nginx as ingress controller)?
The text was updated successfully, but these errors were encountered: