-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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: avoid setting cached Sku when updating VMSS and VMSS instances #102005
Conversation
/priority important-soon |
/retest |
1 similar comment
/retest |
@chewong could you help to check why those aks-engine tests are failing? |
/retest |
@cheftako kindly ping to approve |
Will do but can I get you or @andyzhangx or @ritazh to lgtm? |
/approve |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx, cheftako, feiskyer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…2005-upstream-release-1.19 Automated cherry pick of #102005: Azure: avoid setting cached Sku when updating VMSS and VMSS
…2005-upstream-release-1.21 Automated cherry pick of #102005: Azure: avoid setting cached Sku when updating VMSS and VMSS
…2005-upstream-release-1.20 Automated cherry pick of #102005: Azure: avoid setting cached Sku when updating VMSS and VMSS
What type of PR is this?
/kind bug
/sig cloud-provider
/area provider/azure
What this PR does / why we need it:
Cherry-pick of fixes from out-of-tree kubernetes-sigs/cloud-provider-azure#630:
Since the VMSS and instances are cached in memory (default TTL is 10 min), if there're some changes on the VMSS capacity (e.g. by autoscaler), then the capacity value would be outdated in memory. However, cloud provider sets vmss.Sku when updating network profile, which may cause unexpected capacity change on VMSS.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: