use csi-provisioner:v2.1.0, provider and attacher will only run in master
This commit is contained in:
parent
c4ff4b9c30
commit
ff26480a0f
2 changed files with 11 additions and 7 deletions
|
@ -50,8 +50,8 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: csi-attacher-s3
|
app: csi-attacher-s3
|
||||||
ports:
|
ports:
|
||||||
- name: dummy
|
- name: csi-s3-dummy
|
||||||
port: 12345
|
port: 65535
|
||||||
---
|
---
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
@ -73,6 +73,9 @@ spec:
|
||||||
app: csi-attacher-s3
|
app: csi-attacher-s3
|
||||||
spec:
|
spec:
|
||||||
serviceAccount: csi-attacher-sa
|
serviceAccount: csi-attacher-sa
|
||||||
|
tolerations:
|
||||||
|
- key: node-role.kubernetes.io/master
|
||||||
|
operator: "Exists"
|
||||||
containers:
|
containers:
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
image: quay.io/k8scsi/csi-attacher:v2.2.0
|
image: quay.io/k8scsi/csi-attacher:v2.2.0
|
||||||
|
|
|
@ -49,8 +49,8 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: csi-provisioner-s3
|
app: csi-provisioner-s3
|
||||||
ports:
|
ports:
|
||||||
- name: dummy
|
- name: csi-s3-dummy
|
||||||
port: 12345
|
port: 65535
|
||||||
---
|
---
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
@ -72,11 +72,13 @@ spec:
|
||||||
app: csi-provisioner-s3
|
app: csi-provisioner-s3
|
||||||
spec:
|
spec:
|
||||||
serviceAccount: csi-provisioner-sa
|
serviceAccount: csi-provisioner-sa
|
||||||
|
tolerations:
|
||||||
|
- key: node-role.kubernetes.io/master
|
||||||
|
operator: "Exists"
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: quay.io/k8scsi/csi-provisioner:v1.3.1
|
image: quay.io/k8scsi/csi-provisioner:v2.1.0
|
||||||
args:
|
args:
|
||||||
- "--provisioner=ch.ctrox.csi.s3-driver"
|
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
- "--v=4"
|
- "--v=4"
|
||||||
env:
|
env:
|
||||||
|
@ -88,7 +90,6 @@ spec:
|
||||||
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
mountPath: /var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver
|
||||||
- name: csi-s3
|
- name: csi-s3
|
||||||
image: ctrox/csi-s3:dev
|
image: ctrox/csi-s3:dev
|
||||||
imagePullPolicy: Never
|
|
||||||
args:
|
args:
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
- "--nodeid=$(NODE_ID)"
|
- "--nodeid=$(NODE_ID)"
|
||||||
|
|
Loading…
Reference in a new issue