AKS icon indicating copy to clipboard operation
AKS copied to clipboard

Nodepool stop or start delete nodes in scaleDownMode "Deallocate"

Open alk-jozog opened this issue 3 years ago • 40 comments

What happened: We use 2 preview features on some nodepools:

  • scale down mode "deallocate" https://docs.microsoft.com/en-us/azure/aks/scale-down-mode
  • nodepool stop/start https://docs.microsoft.com/en-us/azure/aks/start-stop-nodepools

When starting or stopping the nodepool, existing VMSS instances (running or deallocated) are deleted.

What you expected to happen: Stopping nodepool should deallocate running VMSS instances instead of deleting them. Starting nodepool should not affect VMSS instances and let autoscaler start existing instances or create new ones if needed.

How to reproduce it (as minimally and precisely as possible):

  • Create a nodepool with scaledown mode set to "deallocate" and autoscaler (min nodes = 0) enabled.
  • Run az aks nodepool stop or az aks nodepool start

Anything else we need to know?: Azure Support has confirmed the issue and advised to open an issue here as we're using preview features.

Environment:

  • Kubernetes version (use kubectl version): 1.21.7
  • Size of cluster (how many worker nodes are in the cluster?): varies from 0 to ~5
  • General description of workloads in the cluster (e.g. HTTP microservices, Java app, Ruby on Rails, machine learning, etc.): ephemeral test environnements
  • Others:

alk-jozog avatar Feb 24 '22 17:02 alk-jozog

Hi alk-jozog, 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 Feb 24 '22 17:02 ghost

Triage required from @Azure/aks-pm

ghost avatar Feb 26 '22 18:02 ghost

Action required from @Azure/aks-pm

ghost avatar Mar 03 '22 19:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 19 '22 00:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 03 '22 00:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 18 '22 12:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar May 03 '22 18:05 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar May 19 '22 00:05 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jun 03 '22 06:06 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jun 18 '22 06:06 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jul 03 '22 06:07 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jul 18 '22 12:07 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Aug 02 '22 18:08 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Aug 17 '22 18:08 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Sep 01 '22 18:09 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Sep 17 '22 00:09 ghost

@qpetraroia can you take a look?

wangyira avatar Sep 21 '22 17:09 wangyira

Action required from @Azure/aks-pm

ghost avatar Oct 21 '22 19:10 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Nov 06 '22 00:11 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Nov 21 '22 06:11 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Dec 06 '22 12:12 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Dec 21 '22 12:12 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jan 05 '23 18:01 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jan 21 '23 00:01 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Feb 05 '23 06:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Feb 20 '23 12:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 07 '23 18:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 23 '23 00:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 07 '23 06:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 22 '23 12:04 ghost