Skip to content
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

install: Disable BPF masquerading by default #609

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

pchaigno
Copy link
Member

@pchaigno pchaigno commented Nov 8, 2021

In commit bf2c1f9, we switched kube-proxy-replacement to disabled by default. We didn't change the default setting for BPF masquerading, even though it requires kube-proxy-replacement to be enabled. As a result, default installation result in a warning when BPF masquerading is forcefully disabled.

This pull request disables BPF masquerading by default to fix it. We could enable BPF masquerading when kube-proxy-replacement is enabled by the user, but it seems more confusing than anything.

Fixes: #136.

In commit bf2c1f9 ("install: Disable kube-proxy-replacement by
default") we switched kube-proxy-replacement to disabled by default. We
didn't change the default setting for BPF masquerading, even though it
requires kube-proxy-replacement to be enabled. As a result, default
installation result in a warning when BPF masquerading is forcefully
disabled.

This commit disables BPF masquerading by default to fix it. We could
enable BPF masquerading when kube-proxy-replacement is enabled by the
user, but it seems more confusing than anything.

Fixes: bf2c1f9 ("install: Disable kube-proxy-replacement by default")
Signed-off-by: Paul Chaignon <[email protected]>
@pchaigno pchaigno force-pushed the pr/pchaigno/disable-bpf-masquerading-by-default branch from 53cec5f to 451d396 Compare November 8, 2021 22:09
@pchaigno pchaigno temporarily deployed to ci November 8, 2021 22:09 Inactive
@pchaigno pchaigno marked this pull request as ready for review November 9, 2021 18:52
@pchaigno pchaigno requested a review from a team as a code owner November 9, 2021 18:52
@pchaigno
Copy link
Member Author

Multicluster hit known flake #600. Other tests are passing and Tobias reviewed. Marking ready to merge.

@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 11, 2021
@tklauser tklauser merged commit 37fe607 into master Nov 11, 2021
@tklauser tklauser deleted the pr/pchaigno/disable-bpf-masquerading-by-default branch November 11, 2021 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants