-
Notifications
You must be signed in to change notification settings - Fork 102
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
Southbound driver for vpn backends #374
Merged
Merged
Conversation
This file contains 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
1d13616
to
d6f7125
Compare
d6f7125
to
859695b
Compare
859695b
to
3c15e82
Compare
afbbce3
to
67d2fcf
Compare
bdc7395
to
d8d1697
Compare
7b7bcc1
to
08db765
Compare
- southbound driver to handle vpn connections - implementation of driver using WireGuard - overlay network using vpn connections from hosts to gateway pod - add support for generic vpn backends into the networkconfigs and tunnelendpoints CRDs REFACTORING: - renamed tunnel-operator to liqo-gateway - renamed route-operator to liqo-route
08db765
to
b5d3473
Compare
mlavacca
approved these changes
Dec 21, 2020
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
palexster
approved these changes
Dec 21, 2020
/merge |
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.
Description
Liqo-Gateway
The tunnel-operator has been renamed to liqo-gateway. It handles the VPN connections to remote peers through a southbound driver, an interface which defines a set of methods. The solution is flexible and separates the underlying VPN technology from the operator's business core logic. Based on the information of the tunnelendpoints.net.liqo.io resource the correct implementation of the driver is called to establish the VPN connection hence for different peering clusters different VPN backends can be used. A first implementation of the drives is done for the WireGuard VPN.
Further more the vpn network interface does not live on the host's network namespace where the pod runs but in the pod's network namespace. Not being bound anymore to a specific host, and not running in the host's network, nodePorts/loadBalancers services are used to expose the VPN endpoint to the remote peering clusters. Here are the features introduced for the liqo-gateway by this PR:
Liqo-Route
The route-operator has been renamed to liqo-route. The operator has been simplified since the NAT configuration has been moved to liqo-gateway. The VxLAN approach used before to connect the nodes to the gateway has been changed since it presented limitations with the new architecture where the gateway has been moved to a separate namespace. Each host establishes a VPN connection to the the liqo-gateway in order to route network traffic to remote services. Other than configure the overlay network the operator handles the routing rules on each host for the remote peers.