Remove NoExecute toleration for attacher, but add CriticalAddons back for provisioner and attacher
This commit is contained in:
parent
514c0131dc
commit
9dac91e1ec
4 changed files with 10 additions and 7 deletions
|
@ -77,8 +77,10 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
serviceAccount: csi-attacher-sa
|
serviceAccount: csi-attacher-sa
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/master
|
- key: node-role.kubernetes.io/master
|
||||||
operator: "Exists"
|
operator: Exists
|
||||||
|
- key: CriticalAddonsOnly
|
||||||
|
operator: Exists
|
||||||
containers:
|
containers:
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
image: {{ .Values.images.attacher }}
|
image: {{ .Values.images.attacher }}
|
||||||
|
|
|
@ -72,6 +72,8 @@ spec:
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/master
|
- key: node-role.kubernetes.io/master
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
- key: CriticalAddonsOnly
|
||||||
|
operator: Exists
|
||||||
{{- with .Values.tolerations.controller }}
|
{{- with .Values.tolerations.controller }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -81,9 +81,6 @@ spec:
|
||||||
operator: Exists
|
operator: Exists
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
- operator: Exists
|
|
||||||
effect: NoExecute
|
|
||||||
tolerationSeconds: 300
|
|
||||||
containers:
|
containers:
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
image: quay.io/k8scsi/csi-attacher:v3.0.1
|
image: quay.io/k8scsi/csi-attacher:v3.0.1
|
||||||
|
|
|
@ -70,8 +70,10 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
serviceAccount: csi-provisioner-sa
|
serviceAccount: csi-provisioner-sa
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/master
|
- key: node-role.kubernetes.io/master
|
||||||
operator: "Exists"
|
operator: Exists
|
||||||
|
- key: CriticalAddonsOnly
|
||||||
|
operator: Exists
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: quay.io/k8scsi/csi-provisioner:v2.1.0
|
image: quay.io/k8scsi/csi-provisioner:v2.1.0
|
||||||
|
|
Loading…
Reference in a new issue