v1 · Namespaced Resource


LimitRange sets resource usage limits for each kind of resource in a Namespace.

Looking for some examples?

There are 2 examples of LimitRange that you can use as a starting point to create your own.

apiVersion: v1
kind: LimitRange
  name: defaults-cpu-memory
  namespace: payments # only pods in the payments namespace will be affected
    - defaultRequest: # pods without a CPU or Memory request defined in their spec will get this value
        cpu: 500m
        memory: 512Mi
      type: Container

Tired of using Kubectl? 😓

Experience hassle-free Kubernetes management with a powerful GUI.

Screenshot of Aptakube showing a list of pods from 2 clusters in a single view