DEV Community

Cover image for Moderating Pod's appetites on a K8s node: the brief
Roman Belshevitz for Otomato

Posted on • Edited on

2

Moderating Pod's appetites on a K8s node: the brief

In Kubernetes terms, cluster operators that want to restrict the amount of resources a single container or pod may consume are able to define allowable ranges per Kubernetes namespace. In the absence of any explicit assignments, the Kubernetes system is able to apply default resource limits and requests if desired in order to constrain the amount of resource a pod consumes on a node.

By default, pods run with unbounded CPU and memory limits. This means that any pod in the system will be able to consume as much CPU and memory on the node that executes the pod.

Users may want to impose restrictions on the amount of resources a single pod in the system may consume for a variety of reasons. In general, users may:

Many thanks Boris Zaikin and Densify 🇨🇦 team for their contribution to community (Boris's article on Dev.to is here)! Canadian guys wrote some good examples in the blog.

Photo by Glasscon of Germany.

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs