deploy attacher to node of provisioner runs
This commit is contained in:
parent
81abdcff1d
commit
0a18ff4d30
2 changed files with 12 additions and 1 deletions
deploy/helm/templates
|
@ -79,6 +79,13 @@ spec:
|
|||
tolerations:
|
||||
- key: node-role.kubernetes.io/master
|
||||
operator: "Exists"
|
||||
affinity:
|
||||
podAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchLabels:
|
||||
app: csi-provisioner-s3
|
||||
topologyKey: kubernetes.io/hostname
|
||||
containers:
|
||||
- name: csi-attacher
|
||||
image: {{ .Values.images.attacher }}
|
||||
|
|
|
@ -56,6 +56,8 @@ kind: StatefulSet
|
|||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: csi-provisioner-s3
|
||||
labels:
|
||||
app: csi-provisioner-s3
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
serviceName: "csi-provisioner-s3"
|
||||
|
@ -112,4 +114,6 @@ spec:
|
|||
mountPath: /var/lib/kubelet/plugins/ru.yandex.s3.csi
|
||||
volumes:
|
||||
- name: socket-dir
|
||||
emptyDir: {}
|
||||
hostPath:
|
||||
path: /var/lib/kubelet/plugins/ru.yandex.s3.csi
|
||||
type: DirectoryOrCreate
|
||||
|
|
Loading…
Add table
Reference in a new issue