-
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
Removing the GatewayPrivateIP parameter from the network module #173
Conversation
a0fca3c
to
d0b2fb2
Compare
7479198
to
dc2c244
Compare
/hold Waiting to fix the CI cluster in order to run E2E tests. |
be2436d
to
d356f5b
Compare
/rebase |
Rebase status: success! |
d356f5b
to
115fede
Compare
c7d5620
to
2072a4c
Compare
/rebase |
Rebase status: success! |
2072a4c
to
f1e5a16
Compare
Hi @alacuku ! Thanks for this! Could you please update the install documentation and the installer script accordingly to this modification? |
The install documentation does not mention the gateway already. |
f1e5a16
to
1ee67a6
Compare
1ee67a6
to
49f6b0f
Compare
49f6b0f
to
0ede4ac
Compare
a51e030
to
b7ca5a2
Compare
done, and updated the helm chart as well. |
/rebase |
Rebase status: success! |
b7ca5a2
to
17bad26
Compare
17bad26
to
b7ca5a2
Compare
Route-operator gets the configuration from the clusterconfig.policy.liqo.io CRD
b7ca5a2
to
e29c628
Compare
/rebase |
Rebase status: success! |
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.
/approve
Description
This PR removes the GatewayPrivateIP parameter from the network module. The Linux kernel does not strictly require a IP address for the tunnel interface in order to route the traffic through it. By removing this parameter we greatly simplify the configuration of a LIQO cluster.
Now the traffic from hosts to remote pods is NATed in two different ways:
The parameter have been removed from the install script and from the helm chart as well.
The route-operator gets the podCIDR parameters from the
clusterconfig.policy.liqo.io
CRD.How Has This Been Tested?
The unit tests of the network module have been updated to not consider the iptables rules and routes involving the GatewayPrivateIP parameter.
End to End tests with two k8s-clusters:
Both pod to pod traffic and node to pod traffic have been tested.