-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
chore(traefik): remove unused entrypoint #1139
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, good catch!
It is required for "additional ports" option I've added to traefik a while ago. |
@aleksasiriski can you show me an example of usage? It doesn't feel right to have it always added to the configuration. |
I think I added to "always" because it causes no harm, but it can be changed to be added only when the additional_ports isn't an empty list. But the current state of this PR breaks additional_ports functionality which I use for load balancing port 22 for my git instance. |
8ad781c
to
a78a147
Compare
ec1d589
Signed-off-by: Marco Nenciarini <mnencia@kcore.it>
ec1d589
to
f94d3c5
Compare
I have tried hard to reproduce a case that requires that line, but I failed. @aleksasiriski, if you have an example, please provide it to me. I create a cluster with this branch, and the following configuration
and after deploying the following code I'm able to ssh in without issues.
|
It's great to hear that it works without that line, I haven't had the time to test it out but now you did! Then it really isn't needed after all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I noticed that the Traefik configuration includes the option
--entrypoints.tcp=true
,which generates an entry point named
tcp
without configuring it.While this option doesn’t cause any harm, it is entirely unnecessary.
Therefore, I suggest removing it.