From 848eb889dbaba24614cd548a77026b7c954bc8fd Mon Sep 17 00:00:00 2001 From: ibabou Date: Fri, 22 Nov 2019 12:16:38 -0800 Subject: [PATCH] add balancer exclusion --- aci.go | 1 + 1 file changed, 1 insertion(+) diff --git a/aci.go b/aci.go index 528a8f24..c326e0de 100644 --- a/aci.go +++ b/aci.go @@ -958,6 +958,7 @@ func (p *ACIProvider) ConfigureNode(ctx context.Context, node *v1.Node) { node.Status.Addresses = p.nodeAddresses() node.Status.DaemonEndpoints = p.nodeDaemonEndpoints() node.Status.NodeInfo.OperatingSystem = p.operatingSystem + node.ObjectMeta.Labels["alpha.service-controller.kubernetes.io/exclude-balancer"] = "true" } // GetPodStatus returns the status of a pod by name that is running inside ACI