operator: increase cpu limits

The operator needs to burst significantly when reconciling,
then will quiet down and nearly not consume any cpu.
Therefore, we allow the operator to burst to more than
a full cpu instead of limiting it to a half cpu.

Signed-off-by: travisn <tnielsen@redhat.com>
This commit is contained in:
travisn committed 2024-01-25 10:12:55 -07:00
1 parent 2d83858ae4
commit ca28887403
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ The following table lists the configurable parameters of the rook-operator chart
| `pspEnable` | If true, create & use PSP resources | `false` |
| `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` |
| `resources` | Pod resource requests & limits | `{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}` |
| `resources` | Pod resource requests & limits | `{"limits":{"cpu":"1500m","memory":"512Mi"},"requests":{"cpu":"200m","memory":"128Mi"}}` |
| `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` |
| `tolerations` | List of Kubernetes [`tolerations`](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) to add to the Deployment. | `[]` |
| `unreachableNodeTolerationSeconds` | Delay to use for the `node.kubernetes.io/unreachable` pod failure toleration to override the Kubernetes default of 5 minutes | `5` |
+2 -2
View File
@@ -23,10 +23,10 @@ crds:
# -- Pod resource requests & limits
resources:
limits:
cpu: 500m
cpu: 1500m
memory: 512Mi
requests:
cpu: 100m
cpu: 200m
memory: 128Mi
# -- Kubernetes [`nodeSelector`](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector) to add to the Deployment.
+2 -2
View File
@@ -642,10 +642,10 @@ data:
# - name: DISCOVER_DAEMON_RESOURCES
# resources:
# limits:
# cpu: 500m
# cpu: 1500m
# memory: 512Mi
# requests:
# cpu: 100m
# cpu: 200m
# memory: 128Mi
---
# The deployment for the rook operator
+2 -2
View File
@@ -671,10 +671,10 @@ spec:
# Recommended resource requests and limits, if desired
#resources:
# limits:
# cpu: 500m
# cpu: 1500m
# memory: 512Mi
# requests:
# cpu: 100m
# cpu: 200m
# memory: 128Mi
# Uncomment it to run lib bucket provisioner in multithreaded mode