Adding node exclusion label
This commit is contained in:
@@ -139,8 +139,6 @@ func (s *Server) registerNode() error {
|
|||||||
"type": "virtual-kubelet",
|
"type": "virtual-kubelet",
|
||||||
"kubernetes.io/role": "agent",
|
"kubernetes.io/role": "agent",
|
||||||
"beta.kubernetes.io/os": strings.ToLower(s.provider.OperatingSystem()),
|
"beta.kubernetes.io/os": strings.ToLower(s.provider.OperatingSystem()),
|
||||||
},
|
|
||||||
Annotations: map[string]string{
|
|
||||||
"alpha.service-controller.kubernetes.io/exclude-balancer": "true",
|
"alpha.service-controller.kubernetes.io/exclude-balancer": "true",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user