Skip to content

Resource templates overcommit memory and can throttle CPU #912

Closed

Description

The resource presets offered to users can lead to OOM errors under high contention, besides that it's debatable whether CPU limits are a good idea in general. It makes sense to fix all the resource presets like so:

   "nano" (dict 
       "requests" (dict "cpu" "100m" "memory" "128Mi" "ephemeral-storage" "50Mi")
-      "limits" (dict "cpu" "150m" "memory" "192Mi" "ephemeral-storage" "2Gi")
+      "limits" (dict "memory" "128Mi" "ephemeral-storage" "2Gi")
    )

removing the cpu limits and setting the memory limits equal to requests.

Activity

  1. added a commit that references this issue on May 13, 2025
    2c6338a
  2. added a commit that references this issue on May 20, 2025
    948163a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions