-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Azure disk snapshot 429 ratelimit with velero-plugin-for-microsoft-azure #7393
Comments
Looks like it was the external-snapshotter called the Azure API, if so, it doesn't make any help even if Velero caches the storage account key. Anything I missed? |
We are using velero snapshotclass
|
This snapshotclass is labeled for Velero with |
Thank you for your replay @Lyndon-Li |
You can set |
I've tried both the
which is fairly similar to this issue on Kubernetes. |
The Could you run the As @Lyndon-Li said, this may be the issue of snapshooter and Azure CSI driver, we could do nothing on Velero side. But let's gather the debug bundle and check it again. |
If CSI is the flow used, this might be related to #7978 |
We have a couple of AKS clusters in Azure and we enabled the CSI feature to snapshot/backup PVCs.
It's working fine for the clusters with fewer PVCs but for a cluster with 65 PVCs azure starts sending a 429 response code.
The issue is that whenever the snapshoter tries to take a snapshot or fetch the existing backup it tries to use Azure API to list the storage account keys and It exhausts Azure API.
This is the error code:
and this is the Azure activity on the storage account which is currently throttled.
A possible fix for the issue: caching the storage account key instead of listing keys each time for each request
The text was updated successfully, but these errors were encountered: