Skip to content

Commit

Permalink
Bump default max reconcile rate and resource limits
Browse files Browse the repository at this point in the history
Signed-off-by: Hasan Turken <turkenh@gmail.com>
(cherry picked from commit 76fdf07)
  • Loading branch information
turkenh committed Mar 14, 2024
1 parent 71eb20d commit 72c5f8c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cluster/charts/crossplane/README.md
Expand Up @@ -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"` |
Expand Down
4 changes: 2 additions & 2 deletions cluster/charts/crossplane/values.yaml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/crossplane/core/core.go
Expand Up @@ -95,7 +95,7 @@ type startCommand struct {

SyncInterval time.Duration `short:"s" help:"How often all resources will be double-checked for drift from the desired state." default:"1h"`
PollInterval time.Duration `help:"How often individual resources will be checked for drift from the desired state." default:"1m"`
MaxReconcileRate int `help:"The global maximum rate per second at which resources may checked for drift from the desired state." default:"10"`
MaxReconcileRate int `help:"The global maximum rate per second at which resources may checked for drift from the desired state." default:"100"`

WebhookEnabled bool `help:"Enable webhook configuration." default:"true" env:"WEBHOOK_ENABLED"`

Expand Down

0 comments on commit 72c5f8c

Please sign in to comment.