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

Set kube-apiserver service external traffic policy to local so that a… #187

Closed
wants to merge 19 commits into from

Conversation

mreiger
Copy link
Contributor

@mreiger mreiger commented May 28, 2021

…udit events appear with their real source IP

majst01 and others added 19 commits May 4, 2021 13:40
…udit events appear with their real source IP
…lane to see if that gets it applied to both seed and shoot
…ovider-metal into fix-186

Pull new changes from master
@mreiger
Copy link
Contributor Author

mreiger commented Jun 10, 2021

@mreiger mreiger marked this pull request as ready for review June 10, 2021 13:09
@mreiger mreiger requested a review from majst01 June 10, 2021 13:46
@Gerrit91
Copy link
Contributor

Gerrit91 commented Jan 10, 2022

I assume this PR got outdated as there is now the istio-gateway in front of the services, which makes it even harder to reveal client source IPs for the audit logs.

This PR comes with the disadvantage that there is a chance that the API server becomes unavailable when the MetalLB on the worker node that runs the API server instance(s) is rolled / updated / not running properly (weaker availability). (https://metallb.universe.tf/usage/#local-traffic-policy-1)

Maybe there is only a good solution available when we get rid off kube-proxy to prevent SNAT, which is something that Cilium seems to offer. It could be reasonable to just open an issue regarding this requirement for further discussions and close this PR.

@Gerrit91 Gerrit91 added the stale A pull request that does not progress any further label Jan 10, 2022
@mreiger
Copy link
Contributor Author

mreiger commented Jan 13, 2022

Yes this is now outdated; the problem persists though since the service for the istio gateway has externalTrafficPolicy: Cluster.

There is already an issue: #186. I am closing this PR and we'll discuss how to move forward from here in the issue.

@mreiger mreiger closed this Jan 13, 2022
@majst01 majst01 deleted the fix-186 branch April 11, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale A pull request that does not progress any further
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants