-
Notifications
You must be signed in to change notification settings - Fork 469
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
Introduces the option --overlay-type={subnet,full}, to be able to always generate IPIP tunnels regardless of node subnets #666
Introduces the option --overlay-type={subnet,full}, to be able to always generate IPIP tunnels regardless of node subnets #666
Conversation
docs/user-guide.md
Outdated
--enable-pod-egress SNAT traffic from Pods to destinations outside the cluster. (default true) | ||
--enable-pprof Enables pprof for debugging performance and memory leak issues. | ||
--full-overlay When full-overlay is set to true, it changes "--enable-overlay=true" default behavior so that IP-in-IP tunneling is used for pod-to-pod networking across nodes regardless of the subnet the nodes are in. When set to false, the default, default "--enable-overlay=true" behavior is used |
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.
What do you think about using --overlay-type
instead, with a default value regional
or subnet
. And the other option is type
?
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.
Sounds like a good idea to me. I don't know if I understood your question correctly ("And the other option is type?"). Could you elaborate a bit more?
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.
Sorry, typo. I meant "And the other option is full".
So user needs to set both
--enable-overlay=true
--overlay-type={subnet,full}
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.
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.
Sorry, typo. I meant "And the other option is full".
Now I got it :)
So user needs to set both
--enable-overlay=true --overlay-type={subnet,full}
Yes, it makes sense. I've updated the code to reflect that.
2ed3613
to
d9a6367
Compare
Did basic testing switching flag |
This PR implements PR #371 ideas, keeping the existing behaviour but allowing users to opt in for a full overlay regardless of the subnet the nodes are in