Skip to content

Commit

Permalink
MCD: tolerate all taints
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Murdaca <runcom@linux.com>
  • Loading branch information
runcom committed May 28, 2020
1 parent 4bbc400 commit 0ffd997
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
10 changes: 3 additions & 7 deletions manifests/machineconfigdaemon/daemonset.yaml
Expand Up @@ -63,13 +63,6 @@ spec:
hostPID: true
serviceAccountName: machine-config-daemon
terminationGracePeriodSeconds: 600
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/etcd
operator: Exists
effect: NoSchedule
nodeSelector:
kubernetes.io/os: linux
priorityClassName: "system-node-critical"
Expand All @@ -83,3 +76,6 @@ spec:
- name: cookie-secret
secret:
secretName: cookie-secret
tolerations:
# MCD needs to run everywhere. Tolerate all taints.
- operator: Exists
11 changes: 3 additions & 8 deletions pkg/operator/assets/bindata.go
Expand Up @@ -1288,13 +1288,6 @@ spec:
hostPID: true
serviceAccountName: machine-config-daemon
terminationGracePeriodSeconds: 600
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/etcd
operator: Exists
effect: NoSchedule
nodeSelector:
kubernetes.io/os: linux
priorityClassName: "system-node-critical"
Expand All @@ -1308,7 +1301,9 @@ spec:
- name: cookie-secret
secret:
secretName: cookie-secret
`)
tolerations:
# MCD needs to run everywhere. Tolerate all taints.
- operator: Exists`)

func manifestsMachineconfigdaemonDaemonsetYamlBytes() ([]byte, error) {
return _manifestsMachineconfigdaemonDaemonsetYaml, nil
Expand Down

0 comments on commit 0ffd997

Please sign in to comment.