Change Horizontal pod autoscaler sync period in AKS?

Tanul 1,251 Reputation points
2022-11-14T13:19:29.62+00:00

Team,

By default, HPA runs every 15 seconds, as shown here. Is it possible to change this time period in AKS. As per my understanding, in self hosted K8s, we can change it by updating this flag horizontal-pod-autoscaler-sync-period in kube controller manager

What can we do to update this time period in AKS. Please suggest. Thank you.

Kind Regards,
Tanul

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,975 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 25,861 Reputation points
    2022-11-15T17:01:13.707+00:00

    @Tanul

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Based on the details shared, you are probably looking for the scan-interval setting in the cluster autoscaler profile. All the configurable attributes of CAS are here in this document, but adjusting the scan interval sounds like the right thing for your ask.

    Hope this helps.
    If you need further help on this, tag me in a comment.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.