Open desek opened 9 months ago
/area provider/azure /area provider/cluster-api
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
cc @jackfrancis , you might be interested in this
@tallaxes @comtalyst is the AKS autoscaler currently delivering support for VMSS Flex in CA-enabled node pools?
cc @willie-yao @nojnhuh
/remove-lifecycle rotten
Which component are you using?:
cluster-autoscaler
What version of the component are you using?:
Component version: 1.28.2
What k8s version are you using (
kubectl version
)?:kubectl version
OutputAlso using CAPZ version: 1.10.8
What environment is this in?:
What did you expect to happen?:
When cluster-autoscaler taints nodes for deletion it will delete them and scale down the
MachinePool
.What happened instead?:
cluster-autoscaler can't find the Machines
How to reproduce it (as minimally and precisely as possible):
Assuming you have a running CAPZ cluster:
spec.orchestrationMode
set toFlexible
AzureMachinePoolMachine
resource per required nodeMachine
resourcesStep 5 fails due to VMSS Flex replicas are created as
AzureMachinePoolMachine
and notMachine
.Anything else we need to know?:
This commit adds the required resources, indexers and conditions in handlers to correctly remove unneeded
AzureMachinePoolMachines
: https://github.com/LiveArena/kubernetes-autoscaler/commit/b819ed9bf27722146805425ab82ea5f860c990b3