rook-ceph-cluster-values.yaml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. # From https://raw.githubusercontent.com/rook/rook/v1.14.12/deploy/charts/rook-ceph-cluster/values.yaml
  2. # Installs a debugging toolbox deployment
  3. toolbox:
  4. # -- Enable Ceph debugging pod deployment. See [toolbox](../Troubleshooting/ceph-toolbox.md)
  5. enabled: true
  6. # -- Toolbox image, defaults to the image used by the Ceph cluster
  7. monitoring:
  8. # -- Enable Prometheus integration, will also create necessary RBAC rules to allow Operator to create ServiceMonitors.
  9. # Monitoring requires Prometheus to be pre-installed
  10. enabled: true
  11. # -- Whether to create the Prometheus rules for Ceph alerts
  12. createPrometheusRules: true
  13. # -- The namespace in which to create the prometheus rules, if different from the rook cluster namespace.
  14. # If you have multiple rook-ceph clusters in the same k8s cluster, choose the same namespace (ideally, namespace with prometheus
  15. # deployed) to set rulesNamespaceOverride for all the clusters. Otherwise, you will get duplicate alerts with multiple alert definitions.
  16. # All values below are taken from the CephCluster CRD
  17. # -- Cluster configuration.
  18. # @default -- See [below](#ceph-cluster-spec)
  19. cephClusterSpec:
  20. dashboard:
  21. # serve the dashboard under a subpath (useful when you are accessing the dashboard via a reverse proxy)
  22. # urlPrefix: /ceph-dashboard
  23. # serve the dashboard at the given port.
  24. port: 8080
  25. # Serve the dashboard using SSL (if using ingress to expose the dashboard and `ssl: true` you need to set
  26. # the corresponding "backend protocol" annotation(s) for your ingress controller of choice)
  27. ssl: false
  28. # Network configuration, see: https://github.com/rook/rook/blob/master/Documentation/CRDs/Cluster/ceph-cluster-crd.md#network-configuration-settings
  29. network:
  30. # enable host networking
  31. provider: host
  32. # enable log collector, daemons will log on files and rotate
  33. logCollector:
  34. enabled: false
  35. # To control where various services will be scheduled by kubernetes, use the placement configuration sections below.
  36. # The example under 'all' would have all services scheduled on kubernetes nodes labeled with 'role=storage-node' and
  37. # tolerate taints with a key of 'storage-node'.
  38. placement:
  39. all:
  40. nodeAffinity:
  41. requiredDuringSchedulingIgnoredDuringExecution:
  42. nodeSelectorTerms:
  43. - matchExpressions:
  44. - key: storage-node
  45. operator: In
  46. values:
  47. - "true"
  48. tolerations:
  49. - key: storage-node
  50. operator: Equal
  51. value: "true"
  52. effect: PreferNoSchedule
  53. resources:
  54. mgr:
  55. limits:
  56. cpu: 0
  57. memory: "1.5Gi"
  58. requests:
  59. cpu: 0
  60. memory: "512Mi"
  61. mon:
  62. limits:
  63. cpu: 0
  64. memory: "1Gi"
  65. requests:
  66. cpu: 0
  67. memory: "500Mi"
  68. osd:
  69. limits:
  70. cpu: 0
  71. memory: "4Gi"
  72. requests:
  73. cpu: 0
  74. memory: "1Gi"
  75. prepareosd:
  76. # limits: It is not recommended to set limits on the OSD prepare job
  77. # since it's a one-time burst for memory that must be allowed to
  78. # complete without an OOM kill. Note however that if a k8s
  79. # limitRange guardrail is defined external to Rook, the lack of
  80. # a limit here may result in a sync failure, in which case a
  81. # limit should be added. 1200Mi may suffice for up to 15Ti
  82. # OSDs ; for larger devices 2Gi may be required.
  83. # cf. https://github.com/rook/rook/pull/11103
  84. requests:
  85. cpu: 0
  86. memory: "500Mi"
  87. mgr-sidecar:
  88. limits:
  89. cpu: 0
  90. memory: "100Mi"
  91. requests:
  92. cpu: 0
  93. memory: "40Mi"
  94. crashcollector:
  95. limits:
  96. cpu: 0
  97. memory: "60Mi"
  98. requests:
  99. cpu: 0
  100. memory: "60Mi"
  101. logcollector:
  102. limits:
  103. cpu: 0
  104. memory: "1Gi"
  105. requests:
  106. cpu: 0
  107. memory: "100Mi"
  108. cleanup:
  109. limits:
  110. cpu: 0
  111. memory: "1Gi"
  112. requests:
  113. cpu: 0
  114. memory: "100Mi"
  115. exporter:
  116. limits:
  117. cpu: 0
  118. memory: "128Mi"
  119. requests:
  120. cpu: 0
  121. memory: "50Mi"
  122. # -- A list of CephBlockPool configurations to deploy
  123. # @default -- See [below](#ceph-block-pools)
  124. cephBlockPools:
  125. - name: ceph-blockpool
  126. # see https://github.com/rook/rook/blob/master/Documentation/CRDs/Block-Storage/ceph-block-pool-crd.md#spec for available configuration
  127. spec:
  128. failureDomain: host
  129. replicated:
  130. size: 3
  131. deviceClass: hdd
  132. # Enables collecting RBD per-image IO statistics by enabling dynamic OSD performance counters. Defaults to false.
  133. # For reference: https://docs.ceph.com/docs/latest/mgr/prometheus/#rbd-io-statistics
  134. enableRBDStats: true
  135. storageClass:
  136. enabled: true
  137. name: ceph-block
  138. isDefault: true
  139. reclaimPolicy: Delete
  140. allowVolumeExpansion: true
  141. volumeBindingMode: "Immediate"
  142. mountOptions: []
  143. # see https://kubernetes.io/docs/concepts/storage/storage-classes/#allowed-topologies
  144. allowedTopologies: []
  145. # - matchLabelExpressions:
  146. # - key: rook-ceph-role
  147. # values:
  148. # - storage-node
  149. # see https://github.com/rook/rook/blob/master/Documentation/Storage-Configuration/Block-Storage-RBD/block-storage.md#provision-storage for available configuration
  150. parameters:
  151. # (optional) mapOptions is a comma-separated list of map options.
  152. # For krbd options refer
  153. # https://docs.ceph.com/docs/latest/man/8/rbd/#kernel-rbd-krbd-options
  154. # For nbd options refer
  155. # https://docs.ceph.com/docs/latest/man/8/rbd-nbd/#options
  156. # mapOptions: lock_on_read,queue_depth=1024
  157. # (optional) unmapOptions is a comma-separated list of unmap options.
  158. # For krbd options refer
  159. # https://docs.ceph.com/docs/latest/man/8/rbd/#kernel-rbd-krbd-options
  160. # For nbd options refer
  161. # https://docs.ceph.com/docs/latest/man/8/rbd-nbd/#options
  162. # unmapOptions: force
  163. # RBD image format. Defaults to "2".
  164. imageFormat: "2"
  165. # RBD image features, equivalent to OR'd bitfield value: 63
  166. # Available for imageFormat: "2". Older releases of CSI RBD
  167. # support only the `layering` feature. The Linux kernel (KRBD) supports the
  168. # full feature complement as of 5.4
  169. imageFeatures: layering
  170. # These secrets contain Ceph admin credentials.
  171. csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
  172. csi.storage.k8s.io/provisioner-secret-namespace: "{{ .Release.Namespace }}"
  173. csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
  174. csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}"
  175. csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
  176. csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}"
  177. # Specify the filesystem type of the volume. If not specified, csi-provisioner
  178. # will set default as `ext4`. Note that `xfs` is not recommended due to potential deadlock
  179. # in hyperconverged settings where the volume is mounted on the same node as the osds.
  180. csi.storage.k8s.io/fstype: ext4
  181. - name: ceph-blockpool-ssd
  182. spec:
  183. failureDomain: host
  184. replicated:
  185. size: 3
  186. deviceClass: ssd
  187. enableRBDStats: true
  188. storageClass:
  189. enabled: true
  190. name: ceph-block-ssd
  191. isDefault: false
  192. reclaimPolicy: Delete
  193. allowVolumeExpansion: true
  194. volumeBindingMode: "Immediate"
  195. mountOptions: []
  196. allowedTopologies: []
  197. parameters:
  198. imageFormat: "2"
  199. imageFeatures: layering
  200. # These secrets contain Ceph admin credentials.
  201. csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
  202. csi.storage.k8s.io/provisioner-secret-namespace: "{{ .Release.Namespace }}"
  203. csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
  204. csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}"
  205. csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
  206. csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}"
  207. csi.storage.k8s.io/fstype: ext4
  208. # -- A list of CephFileSystem configurations to deploy
  209. # @default -- See [below](#ceph-file-systems)
  210. cephFileSystems: []
  211. # -- Settings for the filesystem snapshot class
  212. # @default -- See [CephFS Snapshots](../Storage-Configuration/Ceph-CSI/ceph-csi-snapshot.md#cephfs-snapshots)
  213. cephFileSystemVolumeSnapshotClass:
  214. enabled: false
  215. name: ceph-filesystem
  216. isDefault: true
  217. deletionPolicy: Delete
  218. annotations: {}
  219. labels: {}
  220. # see https://rook.io/docs/rook/v1.10/Storage-Configuration/Ceph-CSI/ceph-csi-snapshot/#cephfs-snapshots for available configuration
  221. parameters: {}
  222. # -- Settings for the block pool snapshot class
  223. # @default -- See [RBD Snapshots](../Storage-Configuration/Ceph-CSI/ceph-csi-snapshot.md#rbd-snapshots)
  224. cephBlockPoolsVolumeSnapshotClass:
  225. enabled: false
  226. name: ceph-block
  227. isDefault: false
  228. deletionPolicy: Delete
  229. annotations: {}
  230. labels: {}
  231. # see https://rook.io/docs/rook/v1.10/Storage-Configuration/Ceph-CSI/ceph-csi-snapshot/#rbd-snapshots for available configuration
  232. parameters: {}
  233. # -- A list of CephObjectStore configurations to deploy
  234. # @default -- See [below](#ceph-object-stores)
  235. cephObjectStores: []