khuedoan-homelab/system/rook-ceph/values.yaml
2024-04-20 02:28:36 +07:00

95 lines
2.8 KiB
YAML

rook-ceph:
monitoring:
enabled: true
rook-ceph-cluster:
monitoring:
enabled: true
createPrometheusRules: true
cephClusterSpec:
mon:
count: 3
mgr:
count: 2
dashboard:
ssl: false
logCollector:
enabled: false
removeOSDsIfOutAndSafeToRemove: true
resources:
mgr:
limits:
memory: "1Gi"
requests:
cpu: "100m"
memory: "512Mi"
mon:
limits:
memory: "2Gi"
requests:
cpu: "100m"
memory: "100Mi"
osd:
limits:
memory: "4Gi"
requests:
cpu: "100m"
memory: "512Mi"
cephBlockPools:
- name: standard-rwo
spec:
replicated:
size: 2
storageClass:
enabled: true
name: standard-rwo
isDefault: true
allowVolumeExpansion: true
parameters:
imageFeatures: layering,fast-diff,object-map,deep-flatten,exclusive-lock
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}"
cephBlockPoolsVolumeSnapshotClass:
enabled: true
isDefault: true
cephFileSystems:
- name: standard-rwx
spec:
metadataPool:
replicated:
size: 2
dataPools:
- name: data0
replicated:
size: 2
metadataServer:
activeCount: 1
activeStandby: true
resources:
limits:
memory: "4Gi"
requests:
cpu: "100m"
memory: "100Mi"
priorityClassName: system-cluster-critical
storageClass:
enabled: true
name: standard-rwx
isDefault: false
allowVolumeExpansion: true
pool: data0
parameters:
csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}"
cephFileSystemVolumeSnapshotClass:
enabled: true
isDefault: false
cephObjectStores: []