Azure / Azure/aksArc

Allow scaling down nodepools in 'out-of-capacity' situations

Open
#349 0 comments 0 reactions 1 assignee Claimed by @baziwane View on GitHub
Enhancement
Dominant language
PowerShell
Stars
118
Forks
63
PR merge metrics
No merged PRs in 30d

Description

**Allow scaling down nodepools in 'out-of-capacity' situations during 'Update-AksHci'**:

**Description**:
If I have a cluster with too less memory left to create a new VM and start an `Update-AksHci` - the update will start but wait in an out-of-capacity loop until there is enough memory freed up to create a new VM.

One option is to scale down a nodepool, but scaling a nodepool is blocked in this situation:
![3_Scale_down_nodepool](https://github.com/Azure/aks-hybrid/assets/6702311/b25b598c-9b68-4f3d-9b04-cb5c3c618d5c)

Second option is to delete a nodepool, what succeeded and `Update-AksHci` continued.

**Feature Request**:
Please allow scaling down nodepools in out-of-capacity situations. We do not have anytime multiple nodepools available, where we can easily delete one, in case we run into an update hang because of running out of resources.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.