-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
…udit events appear with their real source IP
…rvice can be applied
…lane to see if that gets it applied to both seed and shoot
…ovider-metal into fix-186 Pull new changes from master
Gardener's own extension provider for Alicloud also does this: |
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. |
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. |
…udit events appear with their real source IP