Is there any way to find the Node scalability time on Azure Kubernetes Service (AKS) using Logs?

8/19/2021

I want to find the Node scalability time on Azure Kubernetes Service (AKS) using Logs.

-- Saurabh Sunil.
azure
azure-aks
kubernetes
logging

1 Answer

8/19/2021

It's possible with some assumptions.

This information is taken from Azure AKS documentation (consider getting familiar with it, it describes how to enable, where to look at and etc):

To diagnose and debug autoscaler events, logs and status can be retrieved from the autoscaler add-on.

AKS manages the cluster autoscaler on your behalf and runs it in the managed control plane. You can enable control plane node to see the logs and operations from CA (cluster autoscaler).

The same cluster-autoscaler is used across different platforms, each of them can have some specific setup (e.g. for Azure AKS). Based on it, logs should have events like:

status, scaleUp, scaleDown, eventResult
-- moonkotte
Source: StackOverflow