Add configurable tolerations (fixes and )

This commit is contained in:
Vitaliy Filippov 2022-08-05 13:56:26 +03:00
parent 7938313f71
commit 8bf73d66a7
7 changed files with 53 additions and 4 deletions
deploy/kubernetes

View file

@ -77,8 +77,13 @@ spec:
spec:
serviceAccount: csi-attacher-sa
tolerations:
- key: node-role.kubernetes.io/master
operator: "Exists"
- key: node-role.kubernetes.io/master
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
- operator: Exists
effect: NoExecute
tolerationSeconds: 300
containers:
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v3.0.1

View file

@ -52,6 +52,12 @@ spec:
labels:
app: csi-s3
spec:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- operator: Exists
effect: NoExecute
tolerationSeconds: 300
serviceAccount: csi-s3
hostNetwork: true
containers: