An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
Hello Joel Zhu,
Thank you for providing the detailed investigation results and timestamps.
We have reviewed the information shared and agree with your findings that this is not a Kubernetes-level node readiness issue. The affected AKS node pool instances were observed in PowerState/deallocated state at the Azure VM Scale Set level, and manually starting the instances successfully restored the nodes to a healthy Ready state.
Based on the validation already completed, the following potential causes have been ruled out:
- Spot VM eviction
- DevTest Lab auto-shutdown schedules
- Azure Automation Account runbooks
- Kubernetes kubelet or node readiness issues
At this time, the available evidence does not indicate a platform-wide Azure service issue. However, additional backend investigation is required to determine the exact operation or caller responsible for transitioning the VMSS instances into the deallocated state.
Recommended Validation Steps:
Review Azure Activity Logs for all identities, service principals, managed identities, and automation tools that may have permissions against the AKS-managed resource group.
Verify whether AKS Node OS Auto Upgrade or Node Image Upgrade is enabled by checking:
Shell
az aks show
--resource-group <RG>
--name <AKSCluster>
--query autoUpgradeProfile
- Review node pool configuration and maintenance settings:
Shell
az aks nodepool show
--resource-group <RG>
--cluster-name <AKSCluster>
--name <NodePool>
Check for external deployment pipelines, Terraform jobs, GitHub Actions, Azure DevOps pipelines, or custom automation that may be issuing VMSS lifecycle operations.
Continue monitoring future occurrences and capture:
- Exact UTC timestamp
- VMSS name
- Instance ID
- Correlation IDs, if available
- Instance ID
- VMSS name
These details will help correlate backend telemetry and identify the originating operation.
Microsoft Documentation
- AKS Node Image Upgrades:
https://learn.microsoft.com/azure/aks/upgrade-node-image - AKS Node OS Auto Upgrade:
https://learn.microsoft.com/azure/aks/auto-upgrade-node-os-image - AKS Node Auto Repair:
https://learn.microsoft.com/azure/aks/node-auto-repair - VM Scale Set Management Operations:
https://learn.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-manage-cli
At this stage, identifying the exact initiator of the deallocation requires correlation with internal backend telemetry for the affected timestamps. Once the occurrence timestamps and affected instance details are provided, we can proceed with deeper backend validation to determine the source of the deallocation event.
Please let us know if any new occurrences are observed and share the corresponding timestamps so that further investigation can be performed.