mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
deploy: add immediate-topology flag to external-provisioner
In csi-external-provisioner: v5.0.1, topology-aware provisioning is enabled by default. As a result provisioner now expects toologyKeys to be present in CSINode object which must be passed by user via `--domainlabels` flag in RBD nodeplugin. Issue: Users upgrading to v3.12.0 who were not previously using topology-aware provisioning may encounter issues when provisionining RBD PVCs, as the `--domainlabels` flag might not be set. Fix: To address this, add `--immediate-topology=false` to disable topology-aware provisioning. User requiring topology-aware provisioning should provided the volumeBindingMode as `WaitForFirstConsumer` and `TopologyConstrainedPools` as required in the StorageClass and configure `--domainlabels` flag in RBD nodeplugin. Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
parent
cc6835eee8
commit
55f221ff50
@ -116,6 +116,7 @@ spec:
|
|||||||
# if fstype is not specified in storageclass, ext4 is default
|
# if fstype is not specified in storageclass, ext4 is default
|
||||||
- "--default-fstype=ext4"
|
- "--default-fstype=ext4"
|
||||||
- "--extra-create-metadata=true"
|
- "--extra-create-metadata=true"
|
||||||
|
- "--immediate-topology=false"
|
||||||
env:
|
env:
|
||||||
- name: ADDRESS
|
- name: ADDRESS
|
||||||
value: unix:///csi/csi-provisioner.sock
|
value: unix:///csi/csi-provisioner.sock
|
||||||
|
Loading…
Reference in New Issue
Block a user