Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump default max reconcile rate and resource limits #5478

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading