Add label to exclude virtual-node from load-balancers
@@ -23,6 +23,7 @@ func (p *LiqoProvider) ConfigureNode(ctx context.Context, n *v1.Node) {
n.Status.NodeInfo.OperatingSystem = os
n.Status.NodeInfo.Architecture = "amd64"
n.ObjectMeta.Labels["alpha.service-controller.kubernetes.io/exclude-balancer"] = "true"
+ n.ObjectMeta.Labels["node.kubernetes.io/exclude-from-external-load-balancers"] = "true"
n.Labels["type"] = "virtual-node"
}
