operator-values.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  1. # Default values for rook-ceph-operator
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4. image:
  5. # -- Image
  6. repository: rook/ceph
  7. # -- Image tag
  8. # @default -- `master`
  9. tag: master
  10. # -- Image pull policy
  11. pullPolicy: IfNotPresent
  12. crds:
  13. # -- Whether the helm chart should create and update the CRDs. If false, the CRDs must be
  14. # managed independently with deploy/examples/crds.yaml.
  15. # **WARNING** Only set during first deployment. If later disabled the cluster may be DESTROYED.
  16. # If the CRDs are deleted in this case, see
  17. # [the disaster recovery guide](https://rook.io/docs/rook/latest/Troubleshooting/disaster-recovery/#restoring-crds-after-deletion)
  18. # to restore them.
  19. enabled: true
  20. # -- Pod resource requests & limits
  21. resources:
  22. limits:
  23. cpu: 500m
  24. memory: 512Mi
  25. requests:
  26. cpu: 100m
  27. memory: 128Mi
  28. # -- Kubernetes [`nodeSelector`](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector) to add to the Deployment.
  29. nodeSelector: {}
  30. # Constraint rook-ceph-operator Deployment to nodes with label `disktype: ssd`.
  31. # For more info, see https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
  32. # disktype: ssd
  33. # -- List of Kubernetes [`tolerations`](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) to add to the Deployment.
  34. tolerations: []
  35. # -- Delay to use for the `node.kubernetes.io/unreachable` pod failure toleration to override
  36. # the Kubernetes default of 5 minutes
  37. unreachableNodeTolerationSeconds: 5
  38. # -- Whether the operator should watch cluster CRD in its own namespace or not
  39. currentNamespaceOnly: false
  40. # -- Pod annotations
  41. annotations: {}
  42. # -- Global log level for the operator.
  43. # Options: `ERROR`, `WARNING`, `INFO`, `DEBUG`
  44. logLevel: INFO
  45. # -- If true, create & use RBAC resources
  46. rbacEnable: true
  47. # -- If true, create & use PSP resources
  48. pspEnable: false
  49. # -- Set the priority class for the rook operator deployment if desired
  50. priorityClassName:
  51. # -- Set the container security context for the operator
  52. containerSecurityContext:
  53. runAsNonRoot: true
  54. runAsUser: 2016
  55. runAsGroup: 2016
  56. capabilities:
  57. drop: ["ALL"]
  58. # -- If true, loop devices are allowed to be used for osds in test clusters
  59. allowLoopDevices: false
  60. # Settings for whether to disable the drivers or other daemons if they are not
  61. # needed
  62. csi:
  63. # -- Enable Ceph CSI RBD driver
  64. enableRbdDriver: false
  65. # -- Enable Ceph CSI CephFS driver
  66. enableCephfsDriver: true
  67. # -- Enable Ceph CSI GRPC Metrics
  68. enableGrpcMetrics: false
  69. # -- Enable host networking for CSI CephFS and RBD nodeplugins. This may be necessary
  70. # in some network configurations where the SDN does not provide access to an external cluster or
  71. # there is significant drop in read/write performance
  72. enableCSIHostNetwork: true
  73. # -- Enable Snapshotter in CephFS provisioner pod
  74. enableCephfsSnapshotter: true
  75. # -- Enable Snapshotter in NFS provisioner pod
  76. enableNFSSnapshotter: true
  77. # -- Enable Snapshotter in RBD provisioner pod
  78. enableRBDSnapshotter: true
  79. # -- Enable Host mount for `/etc/selinux` directory for Ceph CSI nodeplugins
  80. enablePluginSelinuxHostMount: false
  81. # -- Enable Ceph CSI PVC encryption support
  82. enableCSIEncryption: false
  83. # -- PriorityClassName to be set on csi driver plugin pods
  84. pluginPriorityClassName: system-node-critical
  85. # -- PriorityClassName to be set on csi driver provisioner pods
  86. provisionerPriorityClassName: system-cluster-critical
  87. # -- Policy for modifying a volume's ownership or permissions when the RBD PVC is being mounted.
  88. # supported values are documented at https://kubernetes-csi.github.io/docs/support-fsgroup.html
  89. rbdFSGroupPolicy: "File"
  90. # -- Policy for modifying a volume's ownership or permissions when the CephFS PVC is being mounted.
  91. # supported values are documented at https://kubernetes-csi.github.io/docs/support-fsgroup.html
  92. cephFSFSGroupPolicy: "File"
  93. # -- Policy for modifying a volume's ownership or permissions when the NFS PVC is being mounted.
  94. # supported values are documented at https://kubernetes-csi.github.io/docs/support-fsgroup.html
  95. nfsFSGroupPolicy: "File"
  96. # -- OMAP generator generates the omap mapping between the PV name and the RBD image
  97. # which helps CSI to identify the rbd images for CSI operations.
  98. # `CSI_ENABLE_OMAP_GENERATOR` needs to be enabled when we are using rbd mirroring feature.
  99. # By default OMAP generator is disabled and when enabled, it will be deployed as a
  100. # sidecar with CSI provisioner pod, to enable set it to true.
  101. enableOMAPGenerator: false
  102. # -- Set CephFS Kernel mount options to use https://docs.ceph.com/en/latest/man/8/mount.ceph/#options.
  103. # Set to "ms_mode=secure" when connections.encrypted is enabled in CephCluster CR
  104. cephFSKernelMountOptions:
  105. # -- Enable adding volume metadata on the CephFS subvolumes and RBD images.
  106. # Not all users might be interested in getting volume/snapshot details as metadata on CephFS subvolume and RBD images.
  107. # Hence enable metadata is false by default
  108. enableMetadata: false
  109. # -- Set replicas for csi provisioner deployment
  110. provisionerReplicas: 2
  111. # -- Cluster name identifier to set as metadata on the CephFS subvolume and RBD images. This will be useful
  112. # in cases like for example, when two container orchestrator clusters (Kubernetes/OCP) are using a single ceph cluster
  113. clusterName:
  114. # -- Set logging level for cephCSI containers maintained by the cephCSI.
  115. # Supported values from 0 to 5. 0 for general useful logs, 5 for trace level verbosity.
  116. logLevel: 0
  117. # -- Set logging level for Kubernetes-csi sidecar containers.
  118. # Supported values from 0 to 5. 0 for general useful logs (the default), 5 for trace level verbosity.
  119. # @default -- `0`
  120. sidecarLogLevel:
  121. # -- CSI RBD plugin daemonset update strategy, supported values are OnDelete and RollingUpdate
  122. # @default -- `RollingUpdate`
  123. rbdPluginUpdateStrategy:
  124. # -- A maxUnavailable parameter of CSI RBD plugin daemonset update strategy.
  125. # @default -- `1`
  126. rbdPluginUpdateStrategyMaxUnavailable:
  127. # -- CSI CephFS plugin daemonset update strategy, supported values are OnDelete and RollingUpdate
  128. # @default -- `RollingUpdate`
  129. cephFSPluginUpdateStrategy:
  130. # -- A maxUnavailable parameter of CSI cephFS plugin daemonset update strategy.
  131. # @default -- `1`
  132. cephFSPluginUpdateStrategyMaxUnavailable:
  133. # -- CSI NFS plugin daemonset update strategy, supported values are OnDelete and RollingUpdate
  134. # @default -- `RollingUpdate`
  135. nfsPluginUpdateStrategy:
  136. # -- Set GRPC timeout for csi containers (in seconds). It should be >= 120. If this value is not set or is invalid, it defaults to 150
  137. grpcTimeoutInSeconds: 150
  138. # -- Allow starting an unsupported ceph-csi image
  139. allowUnsupportedVersion: false
  140. # -- The volume of the CephCSI RBD plugin DaemonSet
  141. csiRBDPluginVolume:
  142. # - name: lib-modules
  143. # hostPath:
  144. # path: /run/booted-system/kernel-modules/lib/modules/
  145. # - name: host-nix
  146. # hostPath:
  147. # path: /nix
  148. # -- The volume mounts of the CephCSI RBD plugin DaemonSet
  149. csiRBDPluginVolumeMount:
  150. # - name: host-nix
  151. # mountPath: /nix
  152. # readOnly: true
  153. # -- The volume of the CephCSI CephFS plugin DaemonSet
  154. csiCephFSPluginVolume:
  155. # - name: lib-modules
  156. # hostPath:
  157. # path: /run/booted-system/kernel-modules/lib/modules/
  158. # - name: host-nix
  159. # hostPath:
  160. # path: /nix
  161. # -- The volume mounts of the CephCSI CephFS plugin DaemonSet
  162. csiCephFSPluginVolumeMount:
  163. # - name: host-nix
  164. # mountPath: /nix
  165. # readOnly: true
  166. # -- CEPH CSI RBD provisioner resource requirement list
  167. # csi-omap-generator resources will be applied only if `enableOMAPGenerator` is set to `true`
  168. # @default -- see values.yaml
  169. csiRBDProvisionerResource: |
  170. - name : csi-provisioner
  171. resource:
  172. requests:
  173. memory: 128Mi
  174. cpu: 100m
  175. limits:
  176. memory: 256Mi
  177. cpu: 200m
  178. - name : csi-resizer
  179. resource:
  180. requests:
  181. memory: 128Mi
  182. cpu: 100m
  183. limits:
  184. memory: 256Mi
  185. cpu: 200m
  186. - name : csi-attacher
  187. resource:
  188. requests:
  189. memory: 128Mi
  190. cpu: 100m
  191. limits:
  192. memory: 256Mi
  193. cpu: 200m
  194. - name : csi-snapshotter
  195. resource:
  196. requests:
  197. memory: 128Mi
  198. cpu: 100m
  199. limits:
  200. memory: 256Mi
  201. cpu: 200m
  202. - name : csi-rbdplugin
  203. resource:
  204. requests:
  205. memory: 512Mi
  206. cpu: 250m
  207. limits:
  208. memory: 1Gi
  209. cpu: 500m
  210. - name : csi-omap-generator
  211. resource:
  212. requests:
  213. memory: 512Mi
  214. cpu: 250m
  215. limits:
  216. memory: 1Gi
  217. cpu: 500m
  218. - name : liveness-prometheus
  219. resource:
  220. requests:
  221. memory: 128Mi
  222. cpu: 50m
  223. limits:
  224. memory: 256Mi
  225. cpu: 100m
  226. # -- CEPH CSI RBD plugin resource requirement list
  227. # @default -- see values.yaml
  228. csiRBDPluginResource: |
  229. - name : driver-registrar
  230. resource:
  231. requests:
  232. memory: 128Mi
  233. cpu: 50m
  234. limits:
  235. memory: 256Mi
  236. cpu: 100m
  237. - name : csi-rbdplugin
  238. resource:
  239. requests:
  240. memory: 512Mi
  241. cpu: 250m
  242. limits:
  243. memory: 1Gi
  244. cpu: 500m
  245. - name : liveness-prometheus
  246. resource:
  247. requests:
  248. memory: 128Mi
  249. cpu: 50m
  250. limits:
  251. memory: 256Mi
  252. cpu: 100m
  253. # -- CEPH CSI CephFS provisioner resource requirement list
  254. # @default -- see values.yaml
  255. csiCephFSProvisionerResource: |
  256. - name : csi-provisioner
  257. resource:
  258. requests:
  259. memory: 128Mi
  260. cpu: 100m
  261. limits:
  262. memory: 256Mi
  263. cpu: 200m
  264. - name : csi-resizer
  265. resource:
  266. requests:
  267. memory: 128Mi
  268. cpu: 100m
  269. limits:
  270. memory: 256Mi
  271. cpu: 200m
  272. - name : csi-attacher
  273. resource:
  274. requests:
  275. memory: 128Mi
  276. cpu: 100m
  277. limits:
  278. memory: 256Mi
  279. cpu: 200m
  280. - name : csi-snapshotter
  281. resource:
  282. requests:
  283. memory: 128Mi
  284. cpu: 100m
  285. limits:
  286. memory: 256Mi
  287. cpu: 200m
  288. - name : csi-cephfsplugin
  289. resource:
  290. requests:
  291. memory: 512Mi
  292. cpu: 250m
  293. limits:
  294. memory: 1Gi
  295. cpu: 500m
  296. - name : liveness-prometheus
  297. resource:
  298. requests:
  299. memory: 128Mi
  300. cpu: 50m
  301. limits:
  302. memory: 256Mi
  303. cpu: 100m
  304. # -- CEPH CSI CephFS plugin resource requirement list
  305. # @default -- see values.yaml
  306. csiCephFSPluginResource: |
  307. - name : driver-registrar
  308. resource:
  309. requests:
  310. memory: 128Mi
  311. cpu: 50m
  312. limits:
  313. memory: 256Mi
  314. cpu: 100m
  315. - name : csi-cephfsplugin
  316. resource:
  317. requests:
  318. memory: 512Mi
  319. cpu: 250m
  320. limits:
  321. memory: 1Gi
  322. cpu: 500m
  323. - name : liveness-prometheus
  324. resource:
  325. requests:
  326. memory: 128Mi
  327. cpu: 50m
  328. limits:
  329. memory: 256Mi
  330. cpu: 100m
  331. # -- CEPH CSI NFS provisioner resource requirement list
  332. # @default -- see values.yaml
  333. csiNFSProvisionerResource: |
  334. - name : csi-provisioner
  335. resource:
  336. requests:
  337. memory: 128Mi
  338. cpu: 100m
  339. limits:
  340. memory: 256Mi
  341. cpu: 200m
  342. - name : csi-nfsplugin
  343. resource:
  344. requests:
  345. memory: 512Mi
  346. cpu: 250m
  347. limits:
  348. memory: 1Gi
  349. cpu: 500m
  350. - name : csi-attacher
  351. resource:
  352. requests:
  353. memory: 512Mi
  354. cpu: 250m
  355. limits:
  356. memory: 1Gi
  357. cpu: 500m
  358. # -- CEPH CSI NFS plugin resource requirement list
  359. # @default -- see values.yaml
  360. csiNFSPluginResource: |
  361. - name : driver-registrar
  362. resource:
  363. requests:
  364. memory: 128Mi
  365. cpu: 50m
  366. limits:
  367. memory: 256Mi
  368. cpu: 100m
  369. - name : csi-nfsplugin
  370. resource:
  371. requests:
  372. memory: 512Mi
  373. cpu: 250m
  374. limits:
  375. memory: 1Gi
  376. cpu: 500m
  377. # Set provisionerTolerations and provisionerNodeAffinity for provisioner pod.
  378. # The CSI provisioner would be best to start on the same nodes as other ceph daemons.
  379. # -- Array of tolerations in YAML format which will be added to CSI provisioner deployment
  380. provisionerTolerations:
  381. # - key: key
  382. # operator: Exists
  383. # effect: NoSchedule
  384. # -- The node labels for affinity of the CSI provisioner deployment [^1]
  385. provisionerNodeAffinity: #key1=value1,value2; key2=value3
  386. # Set pluginTolerations and pluginNodeAffinity for plugin daemonset pods.
  387. # The CSI plugins need to be started on all the nodes where the clients need to mount the storage.
  388. # -- Array of tolerations in YAML format which will be added to CephCSI plugin DaemonSet
  389. pluginTolerations:
  390. # - key: key
  391. # operator: Exists
  392. # effect: NoSchedule
  393. # -- The node labels for affinity of the CephCSI RBD plugin DaemonSet [^1]
  394. pluginNodeAffinity: # key1=value1,value2; key2=value3
  395. # -- Enable Ceph CSI Liveness sidecar deployment
  396. enableLiveness: false
  397. # -- CSI CephFS driver GRPC metrics port
  398. # @default -- `9091`
  399. cephfsGrpcMetricsPort:
  400. # -- CSI CephFS driver metrics port
  401. # @default -- `9081`
  402. cephfsLivenessMetricsPort:
  403. # -- Ceph CSI RBD driver GRPC metrics port
  404. # @default -- `9090`
  405. rbdGrpcMetricsPort:
  406. # -- CSI Addons server port
  407. # @default -- `9070`
  408. csiAddonsPort:
  409. # -- Enable Ceph Kernel clients on kernel < 4.17. If your kernel does not support quotas for CephFS
  410. # you may want to disable this setting. However, this will cause an issue during upgrades
  411. # with the FUSE client. See the [upgrade guide](https://rook.io/docs/rook/v1.2/ceph-upgrade.html)
  412. forceCephFSKernelClient: true
  413. # -- Ceph CSI RBD driver metrics port
  414. # @default -- `8080`
  415. rbdLivenessMetricsPort:
  416. serviceMonitor:
  417. # -- Enable ServiceMonitor for Ceph CSI drivers
  418. enabled: false
  419. # -- Service monitor scrape interval
  420. interval: 5s
  421. # -- ServiceMonitor additional labels
  422. labels: {}
  423. # -- Use a different namespace for the ServiceMonitor
  424. namespace:
  425. # -- Kubelet root directory path (if the Kubelet uses a different path for the `--root-dir` flag)
  426. # @default -- `/var/lib/kubelet`
  427. kubeletDirPath:
  428. cephcsi:
  429. # -- Ceph CSI image
  430. # @default -- `quay.io/cephcsi/cephcsi:v3.9.0`
  431. image: "quay.io/cephcsi/cephcsi:v3.9.0"
  432. registrar:
  433. # -- Kubernetes CSI registrar image
  434. # @default -- `registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0`
  435. image: "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0"
  436. provisioner:
  437. # -- Kubernetes CSI provisioner image
  438. # @default -- `registry.k8s.io/sig-storage/csi-provisioner:v3.5.0`
  439. image: "registry.k8s.io/sig-storage/csi-provisioner:v3.5.0"
  440. snapshotter:
  441. # -- Kubernetes CSI snapshotter image
  442. # @default -- `registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2`
  443. image: "registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2"
  444. attacher:
  445. # -- Kubernetes CSI Attacher image
  446. # @default -- `registry.k8s.io/sig-storage/csi-attacher:v4.3.0`
  447. image: "registry.k8s.io/sig-storage/csi-attacher:v4.3.0"
  448. resizer:
  449. # -- Kubernetes CSI resizer image
  450. # @default -- `registry.k8s.io/sig-storage/csi-resizer:v1.8.0`
  451. image: "registry.k8s.io/sig-storage/csi-resizer:v1.8.0"
  452. # -- Image pull policy
  453. imagePullPolicy: IfNotPresent
  454. # -- Labels to add to the CSI CephFS Deployments and DaemonSets Pods
  455. cephfsPodLabels: #"key1=value1,key2=value2"
  456. # -- Labels to add to the CSI NFS Deployments and DaemonSets Pods
  457. nfsPodLabels: #"key1=value1,key2=value2"
  458. # -- Labels to add to the CSI RBD Deployments and DaemonSets Pods
  459. rbdPodLabels: #"key1=value1,key2=value2"
  460. csiAddons:
  461. # -- Enable CSIAddons
  462. enabled: false
  463. # -- CSIAddons Sidecar image
  464. image: "quay.io/csiaddons/k8s-sidecar:v0.7.0"
  465. nfs:
  466. # -- Enable the nfs csi driver
  467. enabled: true
  468. topology:
  469. # -- Enable topology based provisioning
  470. enabled: false
  471. # NOTE: the value here serves as an example and needs to be
  472. # updated with node labels that define domains of interest
  473. # -- domainLabels define which node labels to use as domains
  474. # for CSI nodeplugins to advertise their domains
  475. domainLabels:
  476. # - kubernetes.io/hostname
  477. # - topology.kubernetes.io/zone
  478. # - topology.rook.io/rack
  479. readAffinity:
  480. # -- Enable read affinity for RBD volumes. Recommended to
  481. # set to true if running kernel 5.8 or newer.
  482. # @default -- `false`
  483. enabled: false
  484. # -- Define which node labels to use
  485. # as CRUSH location. This should correspond to the values set
  486. # in the CRUSH map.
  487. # @default -- labels listed [here](../CRDs/Cluster/ceph-cluster-crd.md#osd-topology)
  488. crushLocationLabels:
  489. # -- Whether to skip any attach operation altogether for CephFS PVCs. See more details
  490. # [here](https://kubernetes-csi.github.io/docs/skip-attach.html#skip-attach-with-csi-driver-object).
  491. # If cephFSAttachRequired is set to false it skips the volume attachments and makes the creation
  492. # of pods using the CephFS PVC fast. **WARNING** It's highly discouraged to use this for
  493. # CephFS RWO volumes. Refer to this [issue](https://github.com/kubernetes/kubernetes/issues/103305) for more details.
  494. cephFSAttachRequired: true
  495. # -- Whether to skip any attach operation altogether for RBD PVCs. See more details
  496. # [here](https://kubernetes-csi.github.io/docs/skip-attach.html#skip-attach-with-csi-driver-object).
  497. # If set to false it skips the volume attachments and makes the creation of pods using the RBD PVC fast.
  498. # **WARNING** It's highly discouraged to use this for RWO volumes as it can cause data corruption.
  499. # csi-addons operations like Reclaimspace and PVC Keyrotation will also not be supported if set
  500. # to false since we'll have no VolumeAttachments to determine which node the PVC is mounted on.
  501. # Refer to this [issue](https://github.com/kubernetes/kubernetes/issues/103305) for more details.
  502. rbdAttachRequired: true
  503. # -- Whether to skip any attach operation altogether for NFS PVCs. See more details
  504. # [here](https://kubernetes-csi.github.io/docs/skip-attach.html#skip-attach-with-csi-driver-object).
  505. # If cephFSAttachRequired is set to false it skips the volume attachments and makes the creation
  506. # of pods using the NFS PVC fast. **WARNING** It's highly discouraged to use this for
  507. # NFS RWO volumes. Refer to this [issue](https://github.com/kubernetes/kubernetes/issues/103305) for more details.
  508. nfsAttachRequired: true
  509. # -- Enable discovery daemon
  510. enableDiscoveryDaemon: false
  511. # -- Set the discovery daemon device discovery interval (default to 60m)
  512. discoveryDaemonInterval: 60m
  513. # -- The timeout for ceph commands in seconds
  514. cephCommandsTimeoutSeconds: "15"
  515. # -- If true, run rook operator on the host network
  516. useOperatorHostNetwork:
  517. # -- If true, scale down the rook operator.
  518. # This is useful for administrative actions where the rook operator must be scaled down, while using gitops style tooling
  519. # to deploy your helm charts.
  520. scaleDownOperator: false
  521. ## Rook Discover configuration
  522. ## toleration: NoSchedule, PreferNoSchedule or NoExecute
  523. ## tolerationKey: Set this to the specific key of the taint to tolerate
  524. ## tolerations: Array of tolerations in YAML format which will be added to agent deployment
  525. ## nodeAffinity: Set to labels of the node to match
  526. discover:
  527. # -- Toleration for the discover pods.
  528. # Options: `NoSchedule`, `PreferNoSchedule` or `NoExecute`
  529. toleration:
  530. # -- The specific key of the taint to tolerate
  531. tolerationKey:
  532. # -- Array of tolerations in YAML format which will be added to discover deployment
  533. tolerations:
  534. # - key: key
  535. # operator: Exists
  536. # effect: NoSchedule
  537. # -- The node labels for affinity of `discover-agent` [^1]
  538. nodeAffinity: # key1=value1,value2; key2=value3
  539. # -- Labels to add to the discover pods
  540. podLabels: # "key1=value1,key2=value2"
  541. # -- Add resources to discover daemon pods
  542. resources:
  543. # - limits:
  544. # cpu: 500m
  545. # memory: 512Mi
  546. # - requests:
  547. # cpu: 100m
  548. # memory: 128Mi
  549. # -- Whether to disable the admission controller
  550. disableAdmissionController: true
  551. # -- Runs Ceph Pods as privileged to be able to write to `hostPaths` in OpenShift with SELinux restrictions.
  552. hostpathRequiresPrivileged: false
  553. # -- Disable automatic orchestration when new devices are discovered.
  554. disableDeviceHotplug: false
  555. # -- Blacklist certain disks according to the regex provided.
  556. discoverDaemonUdev:
  557. # -- imagePullSecrets option allow to pull docker images from private docker registry. Option will be passed to all service accounts.
  558. imagePullSecrets:
  559. # - name: my-registry-secret
  560. # -- Whether the OBC provisioner should watch on the operator namespace or not, if not the namespace of the cluster will be used
  561. enableOBCWatchOperatorNamespace: true
  562. # -- Set tolerations and nodeAffinity [^1] for admission controller pod.
  563. # The admission controller would be best to start on the same nodes as other ceph daemons.
  564. admissionController:
  565. # tolerations:
  566. # - key: key
  567. # operator: Exists
  568. # effect: NoSchedule
  569. # nodeAffinity: key1=value1,value2; key2=value3
  570. # [^1]: `nodeAffinity` and `*NodeAffinity` options should have the format `"role=storage,rook; storage=ceph"` or `storage=;role=rook-example` or `storage=;` (_checks only for presence of key_)
  571. monitoring:
  572. # -- Enable monitoring. Requires Prometheus to be pre-installed.
  573. # Enabling will also create RBAC rules to allow Operator to create ServiceMonitors
  574. enabled: false