rook-ceph-operator-values.yaml 21 KB

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