From beeaadfbcf7a2242a128d2d7ec86e5c12c369075 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Tue, 13 Jan 2026 11:17:43 -0700 Subject: [PATCH] helm: setting for reconciling concurrent clusters The setting for concurrent clusters is now available in the helm chart, instead of only as an env var on the operator deployment. reconcileConcurrentClusters will be applied to the env var ROOK_RECONCILE_CONCURRENT_CLUSTERS. Signed-off-by: Travis Nielsen (cherry picked from commit 52393923d1be3123ae21e32158327591a3bd131b) --- Documentation/Helm-Charts/operator-chart.md | 1 + deploy/charts/rook-ceph/templates/deployment.yaml | 2 ++ deploy/charts/rook-ceph/values.yaml | 3 +++ 3 files changed, 6 insertions(+) diff --git a/Documentation/Helm-Charts/operator-chart.md b/Documentation/Helm-Charts/operator-chart.md index 33cd21247..afa860bd9 100644 --- a/Documentation/Helm-Charts/operator-chart.md +++ b/Documentation/Helm-Charts/operator-chart.md @@ -167,6 +167,7 @@ The following table lists the configurable parameters of the rook-operator chart | `priorityClassName` | Set the priority class for the rook operator deployment if desired | `nil` | | `rbacAggregate.enableOBCs` | If true, create a ClusterRole aggregated to [user facing roles](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles) for objectbucketclaims | `false` | | `rbacEnable` | If true, create & use RBAC resources | `true` | +| `reconcileConcurrentClusters` | Number of clusters the operator reconciles concurrently | `1` | | `resources` | Pod resource requests & limits | `{"limits":{"memory":"512Mi"},"requests":{"cpu":"200m","memory":"128Mi"}}` | | `revisionHistoryLimit` | The revision history limit for all pods created by Rook. If blank, the K8s default is 10. | `nil` | | `scaleDownOperator` | If true, scale down the rook operator. This is useful for administrative actions where the rook operator must be scaled down, while using gitops style tooling to deploy your helm charts. | `false` | diff --git a/deploy/charts/rook-ceph/templates/deployment.yaml b/deploy/charts/rook-ceph/templates/deployment.yaml index 110f48f8e..a7ff567a2 100644 --- a/deploy/charts/rook-ceph/templates/deployment.yaml +++ b/deploy/charts/rook-ceph/templates/deployment.yaml @@ -57,6 +57,8 @@ spec: env: - name: ROOK_CURRENT_NAMESPACE_ONLY value: {{ .Values.currentNamespaceOnly | quote }} + - name: ROOK_RECONCILE_CONCURRENT_CLUSTERS + value: {{ .Values.reconcileConcurrentClusters | quote }} {{- with .Values.discover }} {{- with .toleration }} - name: DISCOVER_TOLERATION diff --git a/deploy/charts/rook-ceph/values.yaml b/deploy/charts/rook-ceph/values.yaml index 8c314ac3b..2797b70fb 100644 --- a/deploy/charts/rook-ceph/values.yaml +++ b/deploy/charts/rook-ceph/values.yaml @@ -44,6 +44,9 @@ unreachableNodeTolerationSeconds: 5 # -- Whether the operator should watch cluster CRD in its own namespace or not currentNamespaceOnly: false +# -- Number of clusters the operator reconciles concurrently +reconcileConcurrentClusters: 1 + # -- Custom pod labels for the operator operatorPodLabels: {}