-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Cilium k8s proxy performance #135
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
Conversation
292ba34
to
79f8a94
Compare
continue | ||
} | ||
|
||
if isSvcIPv4 { |
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.
You can have a single isSvcIPv4 branch and do the !d.conf.IPv4Enabled check from within
|
||
if isSvcIPv4 { | ||
isEPsIPv6 := false | ||
for epIP := range se.IPs { |
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.
You can move this into a function and use it from both branches
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, that code changed in the last commit. But still applies and I've change it under areIPsConsistent
function
79f8a94
to
cdd145d
Compare
Acked-by: Thomas Graf <thomas@cilium.io> Signed-off-by: André Martins <andre@cilium.io>
Acked-by: Thomas Graf <thomas@cilium.io> Signed-off-by: André Martins <andre@cilium.io>
Acked-by: Thomas Graf <thomas@cilium.io> Signed-off-by: André Martins <andre@cilium.io>
Acked-by: Thomas Graf <thomas@cilium.io> Signed-off-by: André Martins <andre@cilium.io>
Modified the code so it only updates the services whenever they were changed and not everytime cilium receives an update. Acked-by: Thomas Graf <thomas@cilium.io> Signed-off-by: André Martins <andre@cilium.io>
cdd145d
to
34be2f6
Compare
No description provided.