Knowledgebase

Resource Quotas and Limit Ranges Print

  • 0

Bounding what a namespace can use.

WHAT A QUOTA DOES

Caps total resources in a namespace.

WHAT IT CAN CAP

Processor and memory requests and limits Storage The number of objects of a kind

WHY OBJECT COUNTS MATTER

Runaway automation can create thousands of objects.

WHAT A LIMIT RANGE DOES

Sets defaults and bounds for individual containers.

WHY THAT COMPLEMENTS QUOTAS

It ensures every container has requests, without each author remembering.

WHAT HAPPENS WITH A QUOTA AND NO DEFAULTS

Pods without requests are rejected.

WHY

The quota cannot account for them.

WHAT THAT PRODUCES

Confusing failures for developers.

WHAT TO DO

Set a limit range providing defaults, alongside any quota.

WHAT TO SIZE QUOTAS FROM

Measured usage, plus headroom.

WHAT TO DO WHEN A QUOTA IS REACHED

Investigate before raising it.

WHY

It frequently indicates something misbehaving.

WHAT TO MONITOR

Usage against quota, per namespace.

WHAT TO ALERT ON

Approaching the limit.

WHAT TO COMMUNICATE

What the quota is, and how to request more.

WHY

Otherwise it appears as an unexplained failure.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot