mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
servicelb: fix ineffective toleration
noderole.kubernetes.io/master -> node-role.kubernetes.io/master
This commit is contained in:
parent
af10a574f1
commit
1ed12cffa0
@ -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…
Reference in New Issue
Block a user