Merge "Force loadbalancer pods to master nodes"
This commit is contained in:
commit
1f88a95a33
@ -123,6 +123,15 @@ func (lb loadBalancer) generateDeploymentAndSecret(instance string, labels map[s
|
||||
},
|
||||
},
|
||||
},
|
||||
NodeSelector: map[string]string{
|
||||
"node-role.kubernetes.io/master": "",
|
||||
},
|
||||
Tolerations: []corev1.Toleration{
|
||||
{
|
||||
Key: "node-role.kubernetes.io/master",
|
||||
Effect: "NoSchedule",
|
||||
},
|
||||
},
|
||||
Volumes: []corev1.Volume{
|
||||
{
|
||||
Name: ConfigSecretName,
|
||||
|
Loading…
Reference in New Issue
Block a user