Skip to content

Commit

Permalink
Merge pull request #26 from virtual-kubelet/fix-balancer-exclusion
Browse files Browse the repository at this point in the history
Add balancer exclusion for virtual nodes
  • Loading branch information
ibabou authored Nov 22, 2019
2 parents fd54235 + 848eb88 commit c80d51a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c80d51a

Please sign in to comment.