Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 2.61 KB

V1alpha2DevWorkspaceTemplateSpecComponentsItemsContainer.md

File metadata and controls

26 lines (19 loc) · 2.61 KB

V1alpha2DevWorkspaceTemplateSpecComponentsItemsContainer

Allows adding and configuring devworkspace-related containers

Properties

Name Type Description Notes
annotation V1alpha2DevWorkspaceTemplateSpecComponentsItemsContainerAnnotation [optional]
args List<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]
command List<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]
cpuLimit String [optional]
cpuRequest String [optional]
dedicatedPod Boolean Specify 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]
endpoints List<V1alpha2DevWorkspaceTemplateSpecComponentsItemsContainerEndpoints> [optional]
env List<V1alpha2DevWorkspaceTemplateSpecComponentsItemsContainerEnv> Environment variables used in this container. The following variables are reserved and cannot be overridden via env: - `$PROJECTS_ROOT` - `$PROJECT_SOURCE` [optional]
image String
memoryLimit String [optional]
memoryRequest String [optional]
mountSources Boolean Toggles 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]
sourceMapping String Optional 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]
volumeMounts List<V1alpha2DevWorkspaceTemplateSpecComponentsItemsContainerVolumeMounts> List of volumes mounts that should be mounted is this container. [optional]