Resize AKS node on Free tier

Shah Khan 20 Reputation points

We are running Java application on AKS cluster and facing below error

java.lang.OutOfMemoryError: Java heap space.

How can I change the size of existing AKS node to resolve above issue.

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,847 questions
0 comments No comments
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 18,352 Reputation points Microsoft Employee

    Hi Shah Khan , Thanks for posting your query on Microsoft Q&A.

    Resizing AKS instances in-place isn't supported. To change the size of an existing node in an Azure Kubernetes Service (AKS) cluster, you would need to create a new node pool with the desired size and then drain and cordon the old node pool.

    Please follow this document for step by step guidance on the same :

    If you have any questions at all, please let me know in the "comments" and I would be happy to investigate further. Since I am based in PST timezone, I might not be able to get back to you immediately but should be able to response within 12 hrs.

    If this helped, please 'Accept answer' so that it an help others in the community facing the same issue.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful