Enable endpoint-mode dnsrr for traefik itself
#52
Closed
opened 2025-04-22 07:37:42 +00:00 by decentral1se
·
7 comments
No Branch/Tag Specified
master
renovate/traefik-3.x
adding-matrix-room
pgsql-port-open
access-log
anubis-metrics
forwarded-headers
trust-forward-header
large-uploads
anubis-log-level
compose.matrix
garage
chore-5.0.0+v3.6.10
feat-release-notes-next
add-onion-support
remove-default-timeout
feat-pull-request-template
improve-docs
anubis
sixsmith-v3-update-only
feature/irc
revert-logmaxAge
qbit
feature/v3
error-pages-again
metrics
basic-auth
error-messages-attempt
error-pages-attempt
minecraft
forward-auth-2
error-pages
rejig-compose-vars
self-signed
6.1.0+v3.7.10
6.0.0+v3.7.7
5.1.1+v3.6.15
5.1.0+v3.6.11
5.0.0+v3.6.10
4.0.0+v3.6.10
3.10.0+v3.6.7
3.9.0+v3.6.5
3.8.0+v3.6.5
3.7.0+v3.6.2
3.6.3+v3.4.5
3.6.2+v3.4.5
3.6.1+v3.4.5
3.6.0+v3.4.5
3.5.0+v3.4.5
3.4.2+v3.4.5
3.4.1+v3.4.5
3.4.0+v3.4.4
3.3.0+v2.11.26
3.2.0+v2.11.25
3.1.1+v2.11.25
3.1.0+v2.11.24
3.0.0+v2.11.22
2.10.0+v2.11.22
2.9.1+v2.11.14
3.1.0+v2.11.14
2.9.0+v2.11.14
2.8.0+v2.11.10
2.7.0+v2.11.8
3.0.0+v3.0.0
2.6.3+v2.11.2
2.6.2+v2.11.1
2.6.1+v2.11.0
2.6.0+v2.11.0
2.5.0+v2.11.0
2.4.3+v2.10.5
2.1.0+v2.9.9
2.4.2+v2.10.4
2.4.1+v2.10.3
2.4.0+v2.10.1
2.3.1+v2.10.2
2.3.0+v2.10.2
2.2.0+v2.10.2
2.2.0+v2.10.1
2.0.4+v2.9.6
2.0.3+v2.9.6
2.0.2+v2.9.5
2.0.0+v2.9.1
1.1.1+v2.8.1
1.1.0+v2.8.0
1.0.1+v2.5.6
1.0.0+v2.5.2
No labels
Milestone
No items
No Milestone
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
decentral1se (d1)
fauno (fauno)
javielico (Javielico)
jjsfunhouse
kawaiipunk (KawaiiPunk)
knoflook
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
renovate-bot (Comrade Renovate Bot)
simon
stevensting
trav (Trav Fryer)
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/traefik#52
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
#50 (comment)
/cc @mirsal
AFAIU we need to repeat the change from the previous PR but then for the
traefikservice?nope, not while ports are exposed using the ingress routing mesh (which is useless in single-server deployments btw).
it can be done in
compose.host.ymlthoughArgh, sorry, I'm just not sure what change to make altho I've read everything in #50 5 times 😅
If you have time for a PR, then I'll get on a review again?
@p4u1 do you have any understanding of how to resolve this? i would like to see if there are any performance gains we can win back from this change.... the saga begins with #52 (comment)
I didn't read everything but from my understanding it makes sense to change:
This will be a breaking change though and we should test it for a while
@Apfelwurm what do you think?
Bypassing the ingress routing mesh (which is actually implemented as a hidden haproxy container) will shave a few milliseconds of latency off every ingress request, but more important than performance, host mode port publishing for traefik would give us IPv6 ingress
After reading in the topic again again (thanks @mirsal for #50 (comment) , never read one single message that told me more about docker internals that i did not know before! Swarm is pretty new to me :D Strong one, cleared up so much in my head about stuff i recently saw that i could not explain till now!) my take on this would be similar to your propsal @p4u1:
compose.host.ymlto our defaultcompose.ymland empty it out, so the upgrade deploy does not break when people have it enabled in their envs (or is this maybe already handled in abra? :D)dnsrrmodeto traefik incompose.ymlcompose.no-host.ymlthat overwritesendpoint-modetovipand themodeof theports 80/443 toingressSince this might be really bad for the one person that most likeley has any special setup, that breaks by this change in default behaviour, maybe we ask again in matrix (this might be something for the non tech channel, even though its deeply tech), if someone is running multiple traefik instances on one server or at least announce that we plan this breaking change?
Since @decentral1se `s matrix message is now in there since nearly a month, i think we can assume that we are fine to implement this, so we can get ipv6 ingress working? :)