Remove NoExecute toleration for attacher, but add CriticalAddons back for provisioner and attacher

This commit is contained in:
Vitaliy Filippov 2022-11-17 01:21:59 +03:00
parent 514c0131dc
commit 9dac91e1ec
4 changed files with 10 additions and 7 deletions

View file

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

View file

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

View file

@ -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

View file

@ -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