AKS Cluster provisioning failed - "CreateVMSSAgentPoolFailed"
While provisioning the AKS Cluster (Node pool with 3 nodes - autoscale enabled), I am getting this below error. Please suggest potential resolution for the same. Code="CreateVMSSAgentPoolFailed" Message="Unable to establish outbound…
Seamlessly deploy a new version of app to Virtual Machine Scale Set
Hello, in the docs there is a sample how to deploy a new version of app: https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-powershell But I'd like to make it with no errors that could be noticed from the…
AKS nodepool scaleset fault domains count is always 1, why? Are there any ways to change that?
When deploying AKS cluster into different availability zones ("1,2,3" in our case) the vm scaleset is used for default nodepool deployment (not availability set). Everything is pretty fine there, but the problem is - while using the default…
Can't add vmss to azure load balancer backend pool
Hi, I'm facing an issue with azure load balancer that when I try to add a vmss into the backend pool it's not getting added. I'm seeing that under resource name there is no instances but just now I have added a vmss into it. I'm not sure about the…
Windows and Linux scale sets not sending logs to log analytics workspace
After deploying policy assignments to install Azure Monitoring agents on Linux and Windows scale sets using user managed assigned identity, then deploying further policies that associate scale sets with data collection rules, the logs are not being sent…
How to retrieve recommended number of instances for VMSS in an Advisor recommendation using REST API
What is the property in properties.extendedProperties of an Azure Advisor recommendation that indicates the recommended number of instances or target SKU for VMSS?
What happens to Pod-Workload if a Node gets destroyed
when running pod-workload on an AKS-cluster with autoscaling enabled, what happens, if the pool gets scaled down? If a Pod is running workload on a node, and this node is being removed because of nodepool-scaledown, how does AKS manage to keep my pod…
Monitor Memory Usage and Disk Space in Azure VM Scale Sets (VMSS)
Hello All, We aim to monitor the performance of our Azure VMSS and establish an Azure dashboard for displaying metrics. While we can track CPU percentage, monitoring memory usage and disk space has proven to be a challenge. We've gone ahead and installed…
Virtual Machine Scale set behavior on Zonal failure
Hi, I have created a Virtual Machine Scale Set with zone redundancy enabled (all three zones). Initial count of VM is 1. Auto scaling is enabled with minimum instance count as 1. In case the Zone hosting the VM goes down, will the VM be automatically…
Log Analytics agent should be installed on virtual machine scale sets
I'm getting alerts in Defender for Cloud for "Log Analytics agent should be installed on virtual machine scale sets". Should this alert still occur if we use the Azure Monitor Agent specifically AzureMonitorLinuxAgent instead of the depreciated…
maintaining a specific number of instances across Availability Zones.
In Azure, we have a VM Scale Set configured across three Availability Zones, with 2 VM instances in each zone, totaling 6VMs. If one of these Availability Zones (e.g., Zone 3) were to go down, would the remaining two zones automatically add one more VM…
How to patch/upgrade RHEL Linux VMSS using Rest API.
We are trying to find a way to patch/upgrade Linux VMSS which is RHEL OS using Rest API. Will "POST…
AKS Cluster association with Capacity Reservation Group
We are trying to provision the AKS Cluster through Terraform. We have tried using an already provisioned Capacity reservation group (i.e., https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_clusterBlock:…
Getting curl(52) error when triggering start VM rest API via curl
Hi All, I am trying to generate oauth token via curl which I can fetch without any issue... and from there we are getting the access token... passing those access token in curl command to trigger the rest API to start or stop VM scaleset start. But am…
Windows AHB on scale sets
When applying Windows AHB to VM scale sets is it required to License per scales set or per the instances within the scale set? Baring in mind some of the scale sets can scale out to large numbers of instances. Many thanks for any feedback!
Disable "Windows automatic updates" when creating a VMSS in azure portal
You can create a vmss in Azure Portal. Is it possible to disable "Windows automatic updates" in Azure Portal while creating the vmss, and on which tab is the setting and what is the setting called please? I left "Guest OS updates >…
Azure SDK Error 404 when listing network interfaces of scale set
Hi, I'm using Azure Management SDK to manage my scale sets. When I try to list all the network interfaces of an Azure VM in a scale set, I get a 404 error even though the scale set exists. This code works: for (VirtualMachineScaleSetVM instance :…
Autoscale cannot set next day midnight as ramp down start time
Hi, We are setting up a scaling plan, and would like to set off peak hour start from next day midnight ( After 23:59). And error meassage "The start time should be later than previous tab start time." show. We would like to ramp down start at…
VMSS with custom image preparation
I have created a VM scale set with uniform orchaestration Now I want all of VM instances to be avaialble with following softwares. Build manager VS studio build tools. Nant tool MS build VS build tools Nugget package restore. I have VM scale…
Running a Bash command after scaling an Azure VM Scale Set
Hello, I am working with an Azure VM Scale Set running Ubuntu OS and have written Java code to scale it up or down. However, I am struggling with post-deployment scripts. I need each new VM created in the set to run a Bash script when it starts, and the…