mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
deploy: allow mkfsOptions
Signed-off-by: Domonkos Cinke <seayou@gmail.com>
This commit is contained in:
parent
d753eaa016
commit
d0fea3baed
@ -195,6 +195,7 @@ charts and their default values.
|
|||||||
| `storageClass.pool` | Ceph pool into which the RBD image shall be created | `replicapool` |
|
| `storageClass.pool` | Ceph pool into which the RBD image shall be created | `replicapool` |
|
||||||
| `storageclass.imageFeatures` | Specifies RBD image features | `layering` |
|
| `storageclass.imageFeatures` | Specifies RBD image features | `layering` |
|
||||||
| `storageclass.tryOtherMounters` | Specifies whether to try other mounters in case if the current mounter fails to mount the rbd image for any reason | `false` |
|
| `storageclass.tryOtherMounters` | Specifies whether to try other mounters in case if the current mounter fails to mount the rbd image for any reason | `false` |
|
||||||
|
| `storageclass.mkfsOptions` | Options to pass to the `mkfs` command while creating the filesystem on the RBD device | `""` |
|
||||||
| `storageClass.mounter` | Specifies RBD mounter | `""` |
|
| `storageClass.mounter` | Specifies RBD mounter | `""` |
|
||||||
| `storageClass.cephLogDir` | ceph client log location, it is the target bindmount path used inside container | `"/var/log/ceph"` |
|
| `storageClass.cephLogDir` | ceph client log location, it is the target bindmount path used inside container | `"/var/log/ceph"` |
|
||||||
| `storageClass.cephLogStrategy` | ceph client log strategy, available options `remove` or `compress` or `preserve` | `"remove"` |
|
| `storageClass.cephLogStrategy` | ceph client log strategy, available options `remove` or `compress` or `preserve` | `"remove"` |
|
||||||
|
@ -21,6 +21,9 @@ parameters:
|
|||||||
{{- if .Values.storageClass.tryOtherMounters }}
|
{{- if .Values.storageClass.tryOtherMounters }}
|
||||||
tryOtherMounters: {{ .Values.storageClass.tryOtherMounters | quote}}
|
tryOtherMounters: {{ .Values.storageClass.tryOtherMounters | quote}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.storageClass.mkfsOptions }}
|
||||||
|
mkfsOptions: {{ .Values.storageClass.mkfsOptions }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.storageClass.mounter }}
|
{{- if .Values.storageClass.mounter }}
|
||||||
mounter: {{ .Values.storageClass.mounter }}
|
mounter: {{ .Values.storageClass.mounter }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -341,6 +341,17 @@ storageClass:
|
|||||||
# should work with any mounter type.
|
# should work with any mounter type.
|
||||||
# tryOtherMounters: false
|
# tryOtherMounters: false
|
||||||
|
|
||||||
|
# (optional) Options to pass to the `mkfs` command while creating the
|
||||||
|
# filesystem on the RBD device. Check the man-page for the `mkfs` command
|
||||||
|
# for the filesystem for more details. When `mkfsOptions` is set here, the
|
||||||
|
# defaults will not be used, consider including them in this parameter.
|
||||||
|
#
|
||||||
|
# The default options depend on the csi.storage.k8s.io/fstype setting:
|
||||||
|
# - ext4: "-m0 -Enodiscard,lazy_itable_init=1,lazy_journal_init=1"
|
||||||
|
# - xfs: "-K"
|
||||||
|
#
|
||||||
|
# mkfsOptions: "-m0 -Ediscard -i1024"
|
||||||
|
|
||||||
# (optional) uncomment the following to use rbd-nbd as mounter
|
# (optional) uncomment the following to use rbd-nbd as mounter
|
||||||
# on supported nodes
|
# on supported nodes
|
||||||
# mounter: rbd-nbd
|
# mounter: rbd-nbd
|
||||||
|
Loading…
Reference in New Issue
Block a user