DEV Community

Jeg
Jeg

Posted on

Kubernetes memory management across node pools

Image description

CPU and Memory is not shared to aks-nodepool1-13324706-vmss000032 node.

The reason is that, we have two different node pools. So memory cannot be shared across two node pools. It can only be shared across nodes.

So we may need to have single nodepool with nodes to share the memory or use tool called Karpenter (deploy as pods) to share the memory across multiple node pools or configure pods to deploy in specific nodes or use autoscaling.

Top comments (3)

Collapse
 
aditya_raj_1010 profile image
A.R

"How can we effectively configure Kubernetes pods to deploy on specific nodes within multiple node pools to optimize memory sharing, or alternatively, how does Karpenter, when deployed as pods, facilitate memory sharing across different node pools in an AKS (Azure Kubernetes Service) environment?"
followback for more insightful discussion

Collapse
 
sjegadeeswaran profile image
Jeg

On the manifest file, there is an option to define the node where you want to deploy and coming to Karpenter - it is a tool deployed as a pod in the node pools and auto manages the memory allocation of pods among multiple node pools.

Collapse
 
aditya_raj_1010 profile image
A.R

thanks :)