mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 05:20:19 +00:00
c1a269191c
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
---
|
|
# This is a sample configmap that helps define a Ceph cluster configuration
|
|
# as required by the CSI plugins.
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
# The <cluster-id> is used by the CSI plugin to uniquely identify and use a
|
|
# Ceph cluster, the value MUST match the value provided as `clusterID` in the
|
|
# StorageClass
|
|
# The <MONValue#> fields are the various monitor addresses for the Ceph cluster
|
|
# identified by the <cluster-id>
|
|
# If a CSI plugin is using more than one Ceph cluster, repeat the section for
|
|
# each such cluster in use.
|
|
# To add more clusters or edit MON addresses in an existing configmap, use
|
|
# the `kubectl replace` command.
|
|
# The field "cephFS.subvolumeGroup" is optional and defaults to "csi".
|
|
# NOTE: Changes to the configmap is automatically updated in the running pods,
|
|
# thus restarting existing pods using the configmap is NOT required on edits
|
|
# to the configmap.
|
|
data:
|
|
config.json: |-
|
|
[
|
|
{
|
|
"clusterID": "<cluster-id>",
|
|
"monitors": [
|
|
"<MONValue1>",
|
|
"<MONValue2>",
|
|
...
|
|
"<MONValueN>"
|
|
],
|
|
"cephFS": {
|
|
"subvolumeGroup": "<subvolumegroup for cephfs volumes>"
|
|
}
|
|
}
|
|
]
|
|
metadata:
|
|
name: ceph-csi-config
|