add tcp passtrough to traefik#2184
Open
gsaudade99 wants to merge 1 commit into
Open
Conversation
| tcp: | ||
| routers: | ||
| cvmfs-stratum0-rsync: | ||
| rule: "HostSNI(`*`)" |
Contributor
There was a problem hiding this comment.
This would be a catchall router. Even though routers get higher priority, the longer the rulestext is, I would prefer to specify a Host here.
Contributor
There was a problem hiding this comment.
Hmm, there is no HTTP Host header nor TLS handshake in an SSH connection, I don't think there is a way around this.
The port that the cvmfs-rsync entry point uses is afaik the only way Traefik can identify the intended destination of the traffic.
Contributor
There was a problem hiding this comment.
Now I remember I had to handle it the same way with RabbitMQ. Since this is on a different entrypoint, this should be fine.
| published_port: 8086 | ||
| protocol: tcp | ||
| mode: host | ||
| - target_port: 5432 |
Contributor
There was a problem hiding this comment.
Please don't forget the Configure Firewall task in the playbook itself. 🤓
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the stratum 0 migration and upgrade we need to put it behind the traefik and enable tcp passtrough so @natefoo can rsync the stratums. We would need to change the rsync port tho.
The KVM is prepared and right now mounted as read-only. We can switch as soon we test the sync.
To switch, we can stop the old server and make the new one read-write (
cvmfs_server transaction).ref: https://github.com/usegalaxy-eu/issues/issues/616