Can we enable swap memory for k8s node

Shuhaib Muzammil 0 Reputation points

I have a worker node pool with 2 node count of size B2s. Currently RAM memory is saturated and due to quota limit and budget constraints I couldn't scale both verticaly and horizontaly. Is it possible to enable swap memory for a specific node?

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,659 questions
{count} votes

1 answer

Sort by: Most helpful
  1. shiva patpi 12,396 Reputation points Microsoft Employee

    @Shuhaib Muzammil

    It is not possible to enable swap memory for a specific node. AKS is a managed offering that will not have direct control over the specific Virtual Machines in the AKS Node Pool !

    Couple of suggestions:

    Your subscription might have got some minimum amount of Compute Quota per region per SKU. You can try to add a new Node Pool with new SKU.



    0 comments No comments