AKS icon indicating copy to clipboard operation
AKS copied to clipboard

Support selection of nodes to remove when scaling down.

Open ChiragPavecha opened this issue 4 years ago • 50 comments

Support selection of nodes to remove when scaling down.

At the moment when you scale down, the oldest nodes will always stay and the newer nodes will be removed. Would be a nice feature to be able to remove a selected node when scaling down or maybe manually.

This will enable customers to remove an unhealthy node which is otherwise impacting the entire cluster.

Read more user scenarios here - https://feedback.azure.com/forums/914020-azure-kubernetes-service-aks/suggestions/35702938-support-selection-of-nodes-to-remove-when-scaling

What happened: It often happens that a specific node within a cluster is unhealthy (for various reasons) but there is no way to get rid of that specific node.

What you expected to happen: Have the ability to remove selected nodes within the AKS cluster

ChiragPavecha avatar Jul 21 '21 18:07 ChiragPavecha

Hi ChiragPavecha, 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 Jul 21 '21 18:07 ghost

Can you not delete the individual VM from the VMSS view on the Portal?

image

seguler avatar Jul 22 '21 16:07 seguler

Action required from @Azure/aks-pm

ghost avatar Jan 23 '22 19:01 ghost

@seguler you can, but you're not supposed to touch the vmss directly so I'm not sure if you run into out-of-support scenarios if something goes wrong.

rouke-broersma avatar Jan 25 '22 14:01 rouke-broersma

Issue needing attention of @Azure/aks-leads

ghost avatar Feb 09 '22 18:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Feb 24 '22 18:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 12 '22 00:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 27 '22 06:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 11 '22 12:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 26 '22 18:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar May 11 '22 18:05 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar May 26 '22 18:05 ghost

@allyford @justindavies

miwithro avatar May 26 '22 18:05 miwithro

My impression here (prehaps wrong) is that you can kubecrtl delete nodes and after some time perioud cloud prover will actually remove the machine @feiskyer can probably say if this is true or not. If it does the next call to az aks [nodepool] show should show reduced count since vmss is the source of truth.

paulgmiller avatar May 27 '22 04:05 paulgmiller

@paulgmiller that is half correct. Yes you can remove a node using kubectl, no this does not change the node count. The aks scale settings are the source of truth so if for some reason a node is missing it will be recreated. As it should be.

rouke-broersma avatar May 27 '22 06:05 rouke-broersma

Action required from @Azure/aks-pm

ghost avatar Nov 28 '22 16:11 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Dec 13 '22 18:12 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Dec 29 '22 00:12 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jan 13 '23 00:01 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jan 28 '23 06:01 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Feb 12 '23 12:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Feb 27 '23 18:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 15 '23 00:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 30 '23 06:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 14 '23 06:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 29 '23 12:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar May 14 '23 18:05 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar May 30 '23 00:05 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jun 14 '23 06:06 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jun 29 '23 12:06 ghost