# Setting the right requests and limits in Kubernetes

DevFeed: [Setting the right requests and limits in Kubernetes](<https://devfeed.tech/articles/setting-the-right-requests-and-limits-in-kubernetes-19146.md>)

Original publisher: [Read original article](<https://learnkube.com/setting-cpu-memory-limits-requests>)

Author: Gulcan Topcu

Published: 2020-09-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [cpu](<https://devfeed.tech/topics/cpu.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [autoscaling](<https://devfeed.tech/topics/autoscaling.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [YAML](<https://devfeed.tech/topics/yaml.md>)

Tags: [autoscaling](<https://devfeed.tech/tags/autoscaling.md>), [cgroups](<https://devfeed.tech/tags/cgroups.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [container](<https://devfeed.tech/tags/container.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [memory](<https://devfeed.tech/tags/memory.md>), [quotas](<https://devfeed.tech/tags/quotas.md>), [resource](<https://devfeed.tech/tags/resource.md>), [systems](<https://devfeed.tech/tags/systems.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

## AI overview

A tutorial explaining how Kubernetes CPU and memory requests and limits affect scheduling, Linux cgroups, resource contention, eviction, out-of-memory handling, and autoscaling.

## Source excerpt

Learn how Kubernetes CPU and memory requests and limits control scheduling, cgroup weights and quotas, eviction, throttling, and OOM kills.