Merge pull request #1892 from dweomer/servicelb/node-role

servicelb: fix ineffective toleration
This commit is contained in:
Jacob Blain Christen
2020-06-26 13:55:57 -07:00
committed by GitHub

View File

@@ -363,7 +363,7 @@ func (h *handler) newDaemonSet(svc *core.Service) (*apps.DaemonSet, error) {
// Add toleration to noderole.kubernetes.io/master=*:NoSchedule
noScheduleToleration := core.Toleration{
Key: "noderole.kubernetes.io/master",
Key: "node-role.kubernetes.io/master",
Operator: "Exists",
Effect: "NoSchedule",
}