Skip to content

feat: Allow setting QPS and burst for managed cluster rest configs - #714

Merged
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:managed-cluster-rest-limits
Nov 1, 2026
Merged

gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:managed-cluster-rest-limits

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

Clients for managed clusters were created with client-go defaults (5 QPS, burst 10), regardless of what the caller configured for the management cluster. Add clusterproxy.SetRestConfigLimits so a component can set QPS and burst once at startup. The values are applied to every rest.Config returned for a managed cluster (CAPI, Sveltos, admin kubeconfig and workload identity). When the setter is not called, behavior is unchanged.

Clients for managed clusters were created with client-go defaults (5 QPS,
burst 10), regardless of what the caller configured for the management
cluster. Add clusterproxy.SetRestConfigLimits so a component can set QPS
and burst once at startup. The values are applied to every rest.Config
returned for a managed cluster (CAPI, Sveltos, admin kubeconfig and
workload identity). When the setter is not called, behavior is unchanged.
@gianlucam76
gianlucam76 merged commit 6579834 into projectsveltos:main Nov 1, 2026
4 checks passed
@gianlucam76
gianlucam76 deleted the managed-cluster-rest-limits branch November 1, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant