mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
util: add support to configure mirror daemon count
Currently we are assuming that only one rbd mirror daemon running on the ceph cluster but that is not true for many cases and it can be more that one, this PR make this as a configurable parameter. fixes: #4312 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
51d1d46dd2
commit
4c2d2caf9f
@ -19,6 +19,8 @@ kind: ConfigMap
|
||||
# NOTE: The given radosNamespace must already exists in the pool.
|
||||
# NOTE: Make sure you don't add radosNamespace option to a currently in use
|
||||
# configuration as it will cause issues.
|
||||
# The "rbd.mirrorDaemonCount" is optional and represents the total number of
|
||||
# RBD mirror daemons running on the ceph cluster.
|
||||
# The field "cephFS.subvolumeGroup" is optional and defaults to "csi".
|
||||
# NOTE: The given subvolumeGroup must already exist in the filesystem.
|
||||
# The "cephFS.netNamespaceFilePath" fields are the various network namespace
|
||||
@ -64,6 +66,7 @@ data:
|
||||
"rbd": {
|
||||
"netNamespaceFilePath": "<kubeletRootPath>/plugins/rbd.csi.ceph.com/net",
|
||||
"radosNamespace": "<rados-namespace>",
|
||||
"mirrorDaemonCount": 1,
|
||||
},
|
||||
"monitors": [
|
||||
"<MONValue1>",
|
||||
|
Reference in New Issue
Block a user