Use DDNS for swarm load balancing #2

Merged
rv merged 5 commits from rv/traefik:master into master 2023-02-03 16:18:38 +00:00
Member

What does this PR do?

If swarm load balancing is enabled for a service that uses DNSRR then uses domain name to reach the server. Previously it failed with a warning.

Motivation

If swarm scoped macvlan networks are used then neither service nor its tasks contain an IP address and thus traefik ignores the network entirely. Using DNSRR and LBSwarm flag allows such networks to be used.

More

  • Behavior change needs to be documented.

Additional Notes

<!-- PLEASE READ THIS MESSAGE. Documentation fixes or enhancements: - for Traefik v2: use branch v2.9 - for Traefik v3: use branch master Bug fixes: - for Traefik v2: use branch v2.9 - for Traefik v3: use branch master Enhancements: - for Traefik v2: we only accept bug fixes - for Traefik v3: use branch master HOW TO WRITE A GOOD PULL REQUEST? https://doc.traefik.io/traefik/contributing/submitting-pull-requests/ --> ### What does this PR do? If swarm load balancing is enabled for a service that uses DNSRR then uses domain name to reach the server. Previously it failed with a warning. ### Motivation If swarm scoped macvlan networks are used then neither service nor its tasks contain an IP address and thus traefik ignores the network entirely. Using DNSRR and LBSwarm flag allows such networks to be used. ### More - [ ] Behavior change needs to be documented. ### Additional Notes <!-- Anything else we should know when reviewing? -->
rv added 1 commit 2023-01-26 08:57:01 +00:00
Use DDNS for swarm load balancing
Some checks failed
continuous-integration/drone/pr Build was killed
d1899ff250
rv added 1 commit 2023-01-26 08:57:35 +00:00
Merge branch 'master' into master
Some checks failed
continuous-integration/drone/pr Build is failing
881bfb4b11
rv added 2 commits 2023-02-02 20:27:33 +00:00
Merge branch 'master' of https://git.ivasoft.cz/rv/traefik
All checks were successful
continuous-integration/drone/pr Build is passing
c757750ff3
rv added 1 commit 2023-02-02 23:11:38 +00:00
In DNSRR there is no Endpoint.VirtualIPs - use Spec.TaskTemplate.Networks
All checks were successful
continuous-integration/drone/pr Build is passing
1c0b30963b
rv merged commit fb86f5ea8f into master 2023-02-03 16:18:38 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SW/traefik#2