Skip to content

Conversation

aanm
Copy link
Member

@aanm aanm commented Sep 22, 2016

No description provided.

@aanm aanm added kind/enhancement This would improve or streamline existing functionality. wip labels Sep 22, 2016
@aanm aanm force-pushed the cilium-k8s-proxy-performance branch 4 times, most recently from 292ba34 to 79f8a94 Compare September 23, 2016 17:27
@aanm aanm added pending-review and removed wip labels Sep 23, 2016
continue
}

if isSvcIPv4 {
Copy link
Member

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 {
Copy link
Member

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

Copy link
Member Author

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

@aanm aanm force-pushed the cilium-k8s-proxy-performance branch from 79f8a94 to cdd145d Compare September 23, 2016 23:39
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement This would improve or streamline existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants