Closed LoicGombeaud closed 3 years ago
Hi LoicAG, 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!
Triage required from @Azure/aks-pm
Action required from @Azure/aks-pm
Hello!
I would very much like to inquire if/when the issues with CA will be resolved.
Currently in my environment stopping an AKS cluster works without a problem.
However, when I start the AKS cluster through an ARM pipeline, the system starts more nodes then specified by the minimum configuration, at which point the cluster autoscaling blocks the extra node and the provisioning state of the cluster goes to "failed".
Is this something being worked on?
Thanks!
I am having a similar issue. az aks stop -g <rg> -n <name>
works fine.
But when I run az aks start -g <rg> -n <name>
the cluster no longer respects the min count for the CA.
Using AZ CLI version: 2.20.0 AKS version: 1.19.6 Azure Region: westus2
{
"availabilityZones": null,
"count": 0,
"enableAutoScaling": true,
"enableNodePublicIp": false,
"maxCount": 4,
"maxPods": 110,
"minCount": 2,
"mode": "System",
"name": "system",
"nodeImageVersion": "AKSUbuntu-1804gen2containerd-2021.02.10",
"nodeLabels": {},
"nodeTaints": null,
"orchestratorVersion": "1.19.6",
"osDiskSizeGb": 40,
"osDiskType": "Ephemeral",
"osType": "Linux",
"powerState": {
"code": "Running"
},
"provisioningState": "Succeeded",
"proximityPlacementGroupId": null,
"scaleSetEvictionPolicy": null,
"scaleSetPriority": null,
"spotMaxPrice": null,
"tags": null,
"type": "VirtualMachineScaleSets",
"upgradeSettings": {
"maxSurge": null
},
"vmSize": "Standard_E2as_v4",
"vnetSubnetId": "/subscriptions/***/resourceGroups/rg-dev-westus2/providers/Microsoft.Network/virtualNetworks/vnet-dev-westus2/subnets/sub-dev-dev3"
}
Did I miss a step?
cc: @palma21 @Aaron-ML
Issue needing attention of @Azure/aks-leads
Thanks. Should be correct now, it does support CA now. Let us know if you still find any inconsistency.
@justin-chizer your issue seems a different question then OP, can you clarify what you mean by respecting min count?
Per CA upstream behavior min count is only actionable when CA evaluates if it should scale down. If you start your pool it would come with 0 and CA would scale it up to the needs at the moment respecting the max.
Thanks for reaching out. I'm closing this issue as it was marked with "Answer Provided" and it hasn't had activity for 2 days.
Hello, this is a question regarding the latest release, and more specifically the Stop/Start feature, now GA.
The documentation for the preview mentions that the cluster autoscaler must be stopped; is this still the case, now that the feature is GA?