pulumi / pulumi-kubernetes

A Pulumi resource provider for Kubernetes to manage API resources and workloads in running clusters
https://www.pulumi.com/docs/reference/clouds/kubernetes/
Apache License 2.0
396 stars 113 forks source link

Respect 429 backoff responses #3002

Open blampe opened 1 month ago

blampe commented 1 month ago

The API server can return a 429 instructing the client to retry, but client-go needs to be explicitly configured to respect that response. We should enable that configuration expose it in the provider's client settings.

https://github.com/kubernetes/client-go/blob/62f959700d559dd8a33c1f692cb34219cfef930f/rest/client.go#L33-L38