V1alpha2DevWorkspaceSpecTemplateComponentsItemsContainer

June 1, 2022 · View on GitHub

Allows adding and configuring devworkspace-related containers

Properties

NameTypeDescriptionNotes
annotationV1alpha2DevWorkspaceSpecTemplateComponentsItemsContainerAnnotation[optional]
argsList<String>The arguments to supply to the command running the dockerimage component. The arguments are supplied either to the default command provided in the image or to the overridden command. Defaults to an empty array, meaning use whatever is defined in the image.[optional]
commandList<String>The command to run in the dockerimage component instead of the default one provided in the image. Defaults to an empty array, meaning use whatever is defined in the image.[optional]
cpuLimitString[optional]
cpuRequestString[optional]
dedicatedPodBooleanSpecify if a container should run in its own separated pod, instead of running as part of the main development environment pod. Default value is `false`[optional]
endpointsList<V1alpha2DevWorkspaceSpecTemplateComponentsItemsContainerEndpoints>[optional]
envList<V1alpha2DevWorkspaceSpecTemplateComponentsItemsContainerEnv>Environment variables used in this container. The following variables are reserved and cannot be overridden via env: - `PROJECTS_ROOT&#x60; - &#x60;PROJECT_SOURCE`[optional]
imageString
memoryLimitString[optional]
memoryRequestString[optional]
mountSourcesBooleanToggles whether or not the project source code should be mounted in the component. Defaults to true for all component types except plugins and components that set `dedicatedPod` to true.[optional]
sourceMappingStringOptional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the default value of /projects is used.[optional]
volumeMountsList<V1alpha2DevWorkspaceSpecTemplateComponentsItemsContainerVolumeMounts>List of volumes mounts that should be mounted is this container.[optional]