AKS icon indicating copy to clipboard operation
AKS copied to clipboard

AKS nodepool vertical scaling

Open naioja opened this issue 4 years ago • 51 comments
trafficstars

What happened: Today when a customer creates a node pool in AKS they are only able to scale that node pool horizontally. Many customers in their initial PoC a development phases will spin up these node pools in a SKU that is selected to be cost effective. Customer often want the ability to fine to the performance during development and as part of that they want to be able to change the SKU size of a deployed node pool. Currently to do this a customer has to go through the process of creating a new node pool with the SKU they want to test and destroy their old node pool. This can be a laborious process for customers especially when they need to repeatedly test performance on workloads to find the appropriate SKU.

What you expected to happen: Allow vertical scaling for node pools without having to destroy and recreate a node pool.

naioja avatar May 18 '21 14:05 naioja

Hi naioja, AKS bot here :wave: Thank you for posting on the AKS Repo, I'll do my best to get a kind human from the AKS team to assist you.

I might be just a bot, but I'm told my suggestions are normally quite good, as such:

  1. If this case is urgent, please open a Support Request so that our 24/7 support team may help you faster.
  2. Please abide by the AKS repo Guidelines and Code of Conduct.
  3. If you're having an issue, could it be described on the AKS Troubleshooting guides or AKS Diagnostics?
  4. Make sure your subscribed to the AKS Release Notes to keep up to date with all that's new on AKS.
  5. Make sure there isn't a duplicate of this issue already reported. If there is, feel free to close this one and '+1' the existing issue.
  6. If you have a question, do take a look at our AKS FAQ. We place the most common ones there!

ghost avatar May 18 '21 14:05 ghost

Triage required from @Azure/aks-pm

ghost avatar May 20 '21 18:05 ghost

Action required from @Azure/aks-pm

ghost avatar May 25 '21 19:05 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jun 10 '21 00:06 ghost

Definitely would love this. Having to create a new nodepool and move deployments, then delete the nodepool, etc. just seems unnecessary when its just a VM scale set under-the-hood, and those can be resized.

frachel avatar Jun 13 '21 23:06 frachel

We are looking into this, and moving this to feature request

justindavies avatar Jun 17 '21 11:06 justindavies

Is there any update on this? This would make my life a lot easier.

pivendren avatar Oct 05 '21 11:10 pivendren

Ping.

ytechie avatar Feb 11 '22 18:02 ytechie

up

naioja avatar Apr 29 '22 10:04 naioja

It would be nice feature to have like we have for VMs on Azure

Ranjit-Kumar-Konjeti avatar Jun 23 '22 14:06 Ranjit-Kumar-Konjeti

just seems unnecessary when its just a VM scale set under-the-hood, and those can be resized.

for context, I believe resizing a VMSS does require scaling to zero/deallocating all VMs in some edge cases (and it's not possible to determine when you hit those edge cases until you error out) https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set#properties-that-require-deallocation-to-change

alexeldeib avatar Aug 01 '22 13:08 alexeldeib

Action required from @Azure/aks-pm

ghost avatar Feb 02 '23 19:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Feb 18 '23 00:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 05 '23 00:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 20 '23 06:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 04 '23 12:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 19 '23 18:04 ghost

Just stumbled accross this old issue, and I think it is already implemented but not really documented.

I tried vertically scaling the Default Nodepool yesterday with a Terraform deployment. I needed to set 'temporary_name_for_rotation' to support it, but overall it was recreating the Node Pool after changing the VM size without any issues. Behaviour is similar to a Cluster Upgrade.

Therefore, I guess this issue is resolved, but should be documented somewhere.

XristophD avatar Apr 26 '23 07:04 XristophD

@XristophD I believe what happened with your terraform code was that it changed the size of VMS for the entire nodepool by creating either a new nodepool or just rebuilding one VM at a time - both being possible with uniform VMSS. Whereas with VMSS flex you can migrate the memory of a running VM and change the size "in-place" https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes#what-has-changed-with-flexible-orchestration-mode for now this new type of VMSS is not supported for AKS.

naioja avatar May 05 '23 08:05 naioja

Issue needing attention of @Azure/aks-leads

ghost avatar May 20 '23 12:05 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jun 04 '23 18:06 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jun 20 '23 00:06 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jul 05 '23 00:07 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jul 20 '23 06:07 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Aug 04 '23 06:08 ghost

Good Morning AKS Team,

Can we have a update on this Feature Request?

leandro-scardua avatar Apr 02 '24 09:04 leandro-scardua

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Any update on this ?

tiagol-kr avatar Jul 25 '24 17:07 tiagol-kr