Node count in AKS increased without approval/manual operation after SP renewal

Sajin Seby 0 Reputation points
2025-02-27T12:53:40.7033333+00:00

After SP renewal, node scaled up in agent pools even when the condition for scaling was manual

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.
2,306 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Geethasri.V 15 Reputation points Microsoft External Staff
    2025-02-27T15:07:37.1866667+00:00

    Hi Sajin Seby,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    We understand from your query that you are experiencing an issue with node count increases when you renewed SP.

    It appears that the growth in node numbers may be because of automated functionality within AKS, such as the Cluster Auto scaler, which may have been activated following the SP renewal. When the Service Principal was renewed, it may have reinstated permissions or activated a policy to enable autoscaling to take place, particularly if there were resource requirements.

    It's also conceivable that certain automated tasks or scripts involving the SP renewal inadvertently caused scaling activities. To avoid this in the future, I'd recommend verifying the autoscaling configuration and checking any automation associated with the SP to make sure everything is set up as desired.

    If the answer was helpful, please don't forget to upvote and accept answer the answer

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.