Unverified Commit 3197d206 authored by Jacob Blain Christen's avatar Jacob Blain Christen Committed by GitHub

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

servicelb: fix ineffective toleration
parents 50905030 1ed12cff
...@@ -363,7 +363,7 @@ func (h *handler) newDaemonSet(svc *core.Service) (*apps.DaemonSet, error) { ...@@ -363,7 +363,7 @@ func (h *handler) newDaemonSet(svc *core.Service) (*apps.DaemonSet, error) {
// Add toleration to noderole.kubernetes.io/master=*:NoSchedule // Add toleration to noderole.kubernetes.io/master=*:NoSchedule
noScheduleToleration := core.Toleration{ noScheduleToleration := core.Toleration{
Key: "noderole.kubernetes.io/master", Key: "node-role.kubernetes.io/master",
Operator: "Exists", Operator: "Exists",
Effect: "NoSchedule", Effect: "NoSchedule",
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment