Skip to content

Support overriding arbitrary fields in workspace deployment's containers via attribute #945

Closed
@amisevsk

Description

@amisevsk

Description

Add attribute container-overrides which can be applied to container components to specify container fields not available in the DevWorkspace spec. This would allow, for example, users to specify extended resources for container components, which are currently not available in the API:

components:
  - name: go
    attributes:
      container-overrides: {"resources":{"limits":{"nvidia.com/gpu": "1"}}}
    container:
      image: ...

Additional context

See discussion in devfile/api: devfile/api#920
Follow up to #944

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions