You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few examples of workspaces Pods annotations (openshift.io/scc or runtimeClassName) or Pods spec fields (runtimeClassName, schedulerName) that users want to be able to specify.
The approach until now has been to use spec.template.attributes. But that requires code/spec changes for every new field/annotation that we want to support. To avoid that, and allow users to set arbitrary Pods fields, we could add a DevWorspace.spec.pods field for that:
Using a Devfile in the git repository, a developer can override any workspace Pod and containers fields. This includes runtimeClassName, schedulerName and kubernetes extended resources such as nvidia.com/gpu.
The text was updated successfully, but these errors were encountered:
l0rd
changed the title
Allow to specify arbitrary pods fields
Allow to specify arbitrary fields of the workspace Pod and containers using a Devfile
Oct 20, 2022
Description
There are a few examples of workspaces Pods annotations (
openshift.io/scc
orruntimeClassName
) or Pods spec fields (runtimeClassName
,schedulerName
) that users want to be able to specify.The approach until now has been to use
spec.template.attributes
. But that requires code/spec changes for every new field/annotation that we want to support. To avoid that, and allow users to set arbitrary Pods fields, we could add aDevWorspace.spec.pods
field for that:Additional context
Release Notes Text
Using a Devfile in the git repository, a developer can override any workspace Pod and containers fields. This includes
runtimeClassName
,schedulerName
and kubernetes extended resources such asnvidia.com/gpu
.The text was updated successfully, but these errors were encountered: