Browse Source

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

servicelb: fix ineffective toleration
pull/1907/head
Jacob Blain Christen 4 years ago committed by GitHub
parent
commit
3197d206ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/servicelb/controller.go

2
pkg/servicelb/controller.go

@ -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",
}

Loading…
Cancel
Save