mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-19 03:20:20 +00:00
02bcb5f16a
Use Deployment with leader election instead of StatefulSet Deployment behaves better when a node gets disconnected from the rest of the cluster - new provisioner leader is elected in ~15 seconds, while it may take up to 5 minutes for StatefulSet to start a new replica. Refer: kubernetes-csi/external-provisioner@52d1fbc Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
83 lines
1.3 KiB
YAML
83 lines
1.3 KiB
YAML
---
|
|
rbac:
|
|
create: true
|
|
|
|
serviceAccounts:
|
|
attacher:
|
|
create: true
|
|
name:
|
|
nodeplugin:
|
|
create: true
|
|
name:
|
|
provisioner:
|
|
create: true
|
|
name:
|
|
|
|
socketDir: /var/lib/kubelet/plugins/cephfs.csi.ceph.com
|
|
socketFile: csi.sock
|
|
registrationDir: /var/lib/kubelet/plugins_registry
|
|
pluginDir: /var/lib/kubelet/plugins
|
|
driverName: cephfs.csi.ceph.com
|
|
configMapName: ceph-csi-config
|
|
attacher:
|
|
name: attacher
|
|
enabled: true
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: quay.io/k8scsi/csi-attacher
|
|
tag: v1.2.0
|
|
pullPolicy: IfNotPresent
|
|
|
|
resources: {}
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
nodeplugin:
|
|
name: nodeplugin
|
|
|
|
registrar:
|
|
image:
|
|
repository: quay.io/k8scsi/csi-node-driver-registrar
|
|
tag: v1.1.0
|
|
pullPolicy: IfNotPresent
|
|
|
|
resources: {}
|
|
|
|
plugin:
|
|
image:
|
|
repository: quay.io/cephcsi/cephcsi
|
|
# for stable functionality replace canary with latest release version
|
|
tag: canary
|
|
pullPolicy: IfNotPresent
|
|
|
|
resources: {}
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
provisioner:
|
|
name: provisioner
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: quay.io/k8scsi/csi-provisioner
|
|
tag: v1.3.0
|
|
pullPolicy: IfNotPresent
|
|
|
|
resources: {}
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|