This message was deleted.
# kubernetes
s
This message was deleted.
b
@nice-lizard-13594 this is thrown by your kubernetes cluster, it's not coming from Pulumi. Pulumi is just reporting the api is throttling you
n
Thanks @billowy-army-68599 - I understand that Pulumi is only forwarding the warning. The Kubernetes documentation about Priority and Fairness states it’s a server-side feature of
kube-apiserver
. The warning explicitly states it is client side throttling not caused by priority and fairness. So it’s not thrown by my cluster. I can’t find any reference to throttling settings for
kubectl
. Does Pulumi use the
kubectl
CLI under the hood? Or does it send requests to the Kubernetes API directly?
b
It talks directly to the API
s
You can set burst/qps settings through kube client settings: https://www.pulumi.com/registry/packages/kubernetes/api-docs/provider/#kubeclientsettings
Also supported through
PULUMI_K8S_CLIENT_BURST
and
PULUMI_K8S_CLIENT_QPS
environment variables
n
Jeah @sparse-park-68967 that’s exactly what I was looking for. Thank you soooo much. You made my day! 🙏
s
No worries at all!