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 <[email protected]>
  • Loading branch information
turkenh committed Mar 14, 2024
1 parent b565aac commit 76fdf07
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cluster/charts/crossplane/README.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
6 changes: 3 additions & 3 deletions cmd/crossplane/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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."`

Expand Down

0 comments on commit 76fdf07

Please sign in to comment.