-
Notifications
You must be signed in to change notification settings - Fork 42k
remove retry operation on attach/detach azure disk #70568
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
remove retry operation on attach/detach azure disk #70568
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/priority important-soon |
0d91adf to
c7acc7a
Compare
fix logging fix build failure
c7acc7a to
8abadbe
Compare
|
code lgtm |
feiskyer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
…0568-upstream-release-1.12 Automated cherry pick of #70568: remove retry operation on attach/detach disk
…0568-upstream-release-1.10 Automated cherry pick of #70568: remove retry operation on attach/detach disk
…0568-upstream-release-1.11 Automated cherry pick of #70568: remove retry operation on attach/detach disk
What type of PR is this?
/kind bug
What this PR does / why we need it:
remove retry operation on attach/detach azure disk, switch to use k8s attach-detach controller which would control retry attach/detach disk
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #70567
Special notes for your reviewer:
retry azure disk attach operation produce too many API calls
Now the default
cloudProviderBackoffRetriesvalue is 6 which means if AttachDisk operation failed, it will retry 6 more times, when disk quota is full on a VM, it produces too many API calls. Retry attach disk behavior is not necessary since it AttachVolume operation fails, k8s attachdetach-controller will retry once a minute until it succeeds.default setting in
/etc/kubernetes/azure.jsonnow:Does this PR introduce a user-facing change?:
Release note:
/sig azure
/assign @feiskyer
@jackfrancis @khenidak @brendandburns