Skip to content

Add container resource caps enforcement for containers #1561

@dkwon17

Description

@dkwon17

Description

Add new fields in the DWOC:

config:
  workspace:
    containerResourceCaps:
      limits:
        cpu: ...
        memory: ...
      requests:
        cpu: ...
        memory: ...

which serve as maximum limits/requests for DevWorkspace containers.

This allows the admin to control a maximum limit, preventing a user from creating a DevWorkspace with a cpu/memory limit that is too high.

Additional context

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions