/kind feature
Describe the solution you'd like
The Azure cloud provider exposes a wide number of configuration fields: https://github.com/kubernetes-sigs/cloud-provider-azure/blob/master/docs/cloud-provider-config.md#cloud-provider-config
Most of these can be derived from infrastructure specs in CAPZ. The significant outliers all are around the rate limiting configuration for the cloud provider. We should surface these to users in a reasonable way without requiring them to set the entire file.
One approach would be to allow the subset of the CloudProviderConfig struct relevant to rate limiting to be defined in a config map. We would merge any user provided values there over our own defaults when we build the configuration.
Anything else you would like to add:
Follow up to #802
@marwanad any thoughts on this? would it be reasonable to just expose a config map for the rate limiting config?
I'd say a configmap and merge with defaults is probably reasonable - yeah
For comparison sake, we could also embed it directly into the spec
would we want to expose all these values? https://kubernetes-sigs.github.io/cloud-provider-azure/install/configs/#per-client-rate-limiting
We could make this a 1.18+ feature only and support per-client rate limiting to avoid having to implement the old way of having global rate limit settings.
/milestone next
/help
@CecileRobertMichon:
This request has been marked as needing help from a contributor.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.
In response to this:
/milestone next
/help
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/assign
busy for few weeks.
/unassign
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale