deploy to node of provisioner runs
This commit is contained in:
parent
b9f21a39ea
commit
81abdcff1d
2 changed files with 9 additions and 0 deletions
deploy/kubernetes
|
@ -84,6 +84,13 @@ spec:
|
||||||
- operator: Exists
|
- operator: Exists
|
||||||
effect: NoExecute
|
effect: NoExecute
|
||||||
tolerationSeconds: 300
|
tolerationSeconds: 300
|
||||||
|
affinity:
|
||||||
|
podAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
app: csi-provisioner-s3
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
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
|
||||||
|
|
|
@ -56,6 +56,8 @@ kind: StatefulSet
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-provisioner-s3
|
name: csi-provisioner-s3
|
||||||
|
labels:
|
||||||
|
app: csi-provisioner-s3
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
serviceName: "csi-provisioner-s3"
|
serviceName: "csi-provisioner-s3"
|
||||||
|
|
Loading…
Add table
Reference in a new issue