From 76fdf072330959e526a3a2435321b6a08829212e Mon Sep 17 00:00:00 2001 From: Hasan Turken Date: Thu, 14 Mar 2024 11:00:07 +0300 Subject: [PATCH] Bump default max reconcile rate and resource limits Signed-off-by: Hasan Turken --- cluster/charts/crossplane/README.md | 4 ++-- cluster/charts/crossplane/values.yaml | 4 ++-- cmd/crossplane/core/core.go | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cluster/charts/crossplane/README.md b/cluster/charts/crossplane/README.md index 5b162359ba0..95b7bd5ffd6 100644 --- a/cluster/charts/crossplane/README.md +++ b/cluster/charts/crossplane/README.md @@ -103,8 +103,8 @@ and their default values. | `registryCaBundleConfig.key` | The ConfigMap key containing a custom CA bundle to enable fetching packages from registries with unknown or untrusted certificates. | `""` | | `registryCaBundleConfig.name` | The ConfigMap name containing a custom CA bundle to enable fetching packages from registries with unknown or untrusted certificates. | `""` | | `replicas` | The number of Crossplane pod `replicas` to deploy. | `1` | -| `resourcesCrossplane.limits.cpu` | CPU resource limits for the Crossplane pod. | `"100m"` | -| `resourcesCrossplane.limits.memory` | Memory resource limits for the Crossplane pod. | `"512Mi"` | +| `resourcesCrossplane.limits.cpu` | CPU resource limits for the Crossplane pod. | `"500m"` | +| `resourcesCrossplane.limits.memory` | Memory resource limits for the Crossplane pod. | `"1024Mi"` | | `resourcesCrossplane.requests.cpu` | CPU resource requests for the Crossplane pod. | `"100m"` | | `resourcesCrossplane.requests.memory` | Memory resource requests for the Crossplane pod. | `"256Mi"` | | `resourcesRBACManager.limits.cpu` | CPU resource limits for the RBAC Manager pod. | `"100m"` | diff --git a/cluster/charts/crossplane/values.yaml b/cluster/charts/crossplane/values.yaml index d4166d9db1d..1a9b7f313b0 100755 --- a/cluster/charts/crossplane/values.yaml +++ b/cluster/charts/crossplane/values.yaml @@ -85,9 +85,9 @@ priorityClassName: "" resourcesCrossplane: limits: # -- CPU resource limits for the Crossplane pod. - cpu: 100m + cpu: 500m # -- Memory resource limits for the Crossplane pod. - memory: 512Mi + memory: 1024Mi requests: # -- CPU resource requests for the Crossplane pod. cpu: 100m diff --git a/cmd/crossplane/core/core.go b/cmd/crossplane/core/core.go index 358ffaface2..d82dd552220 100644 --- a/cmd/crossplane/core/core.go +++ b/cmd/crossplane/core/core.go @@ -93,9 +93,9 @@ type startCommand struct { PackageRuntime string `default:"Deployment" env:"PACKAGE_RUNTIME" helm:"The package runtime to use for packages with a runtime (e.g. Providers and Functions)"` - SyncInterval time.Duration `default:"1h" help:"How often all resources will be double-checked for drift from the desired state." short:"s"` - PollInterval time.Duration `default:"1m" help:"How often individual resources will be checked for drift from the desired state."` - MaxReconcileRate int `default:"10" help:"The global maximum rate per second at which resources may checked for drift from the desired state."` + SyncInterval time.Duration `default:"1h" help:"How often all resources will be double-checked for drift from the desired state." short:"s"` + PollInterval time.Duration `default:"1m" help:"How often individual resources will be checked for drift from the desired state."` + MaxReconcileRate int `default:"100" help:"The global maximum rate per second at which resources may checked for drift from the desired state."` WebhookEnabled bool `default:"true" env:"WEBHOOK_ENABLED" help:"Enable webhook configuration."`