OpsCanary
kubernetesschedulingPractitioner

Memory QoS in Kubernetes v1.37: A Game Changer for Resource Management

5 min read Kubernetes BlogSep 14, 2026Reviewed for accuracy
Share
PractitionerHands-on experience recommended

Memory QoS exists to tackle the challenges of managing memory resources in Kubernetes. As applications scale, ensuring that containers have the appropriate memory allocation becomes critical. Memory QoS allows Kubernetes to differentiate between memory usage tiers, enabling more efficient resource allocation and preventing resource contention that can lead to performance degradation.

At its core, Memory QoS leverages the memory controller on Linux nodes running cgroup v2. It utilizes the memoryThrottlingFactor to calculate the memory.high threshold for Burstable and BestEffort containers. This means you can fine-tune how aggressively Kubernetes throttles memory usage based on your application's needs. You can also implement tiered memory protection using the memoryReservationPolicy, which allows you to set minimum and low memory thresholds for your containers. This is configured in the Kubelet configuration file, where you can specify parameters like memoryThrottlingFactor and memoryReservationPolicy to optimize memory handling.

In production, it's crucial to understand that the memoryReservationPolicy applies node-wide, affecting all pods on that node. This can lead to unintended consequences if not carefully managed. As Memory QoS has just graduated to Beta, it's a good time to experiment with it, but be cautious of its limitations and ensure it aligns with your specific use case.

Key takeaways

  • Leverage Memory QoS to optimize memory management for Burstable and BestEffort containers.
  • Configure `memoryThrottlingFactor` to control memory throttling behavior effectively.
  • Implement `memoryReservationPolicy` for tiered memory protection across your pods.

Why it matters

In production, effective memory management can significantly enhance application performance and stability. Memory QoS helps prevent resource contention, ensuring your applications run smoothly even under load.

Code examples

YAML
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
memoryThrottlingFactor: 0.9
YAML
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
memoryThrottlingFactor: 0.9
memoryReservationPolicy: TieredReservation
YAML
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
memoryReservationPolicy: TieredReservation

When NOT to use this

The official docs don't call out specific anti-patterns here. Use your judgment based on your scale and requirements.

Want the complete reference?

Read official docs

Test what you just learned

Quiz questions written from this article

Take the quiz →
Linux FoundationSponsor

Industry-standard certifications built by the people behind Linux and Kubernetes. Earn the CKA — the gold standard Kubernetes administrator cert. OpsCanary readers get 30% off year-round with code OPSCANARY3.

Get CKA certified →

Get the daily digest

One email. 5 articles. Every morning.

No spam. Unsubscribe anytime.