Devfile schema.

commands: object[]

Predefined, ready-to-use, workspace-related commands

object
apply: object

Command that consists in applying a given component definition, typically bound to a workspace event.

For example, when an apply command is bound to a preStart event, and references a container component, it will start the container as a K8S initContainer in the workspace POD, unless the component has its dedicatedPod field set to true.

When no apply command exist for a given component, it is assumed the component will be applied at workspace start by default.

attributes: object

Optional map of free-form additional command attributes

component: string

Describes component that will be applied

group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

label: string

Optional label that provides a label for this command to be used in Editor UI menus for example

composite: object

Composite command that allows executing several sub-commands either sequentially or concurrently

attributes: object

Optional map of free-form additional command attributes

commands: string[]

The commands that comprise this composite command

string
group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

label: string

Optional label that provides a label for this command to be used in Editor UI menus for example

parallel: boolean

Indicates if the sub-commands should be executed concurrently

exec: object

CLI Command executed in an existing component container

attributes: object

Optional map of free-form additional command attributes

commandLine: string

The actual command-line string

component: string

Describes component to which given action relates

env: object[]

Optional list of environment variables that have to be set before running the command

object
name: string
value: string
group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

label: string

Optional label that provides a label for this command to be used in Editor UI menus for example

workingDir: string

Working directory where the command should be executed

vscodeLaunch: object

Command providing the definition of a VsCode launch action

inlined: string

Inlined content of the VsCode configuration

uri: string

Location as an absolute of relative URI the VsCode configuration will be fetched from

attributes: object

Optional map of free-form additional command attributes

group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

vscodeTask: object

Command providing the definition of a VsCode Task

inlined: string

Inlined content of the VsCode configuration

uri: string

Location as an absolute of relative URI the VsCode configuration will be fetched from

attributes: object

Optional map of free-form additional command attributes

group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

components: object[]

List of the workspace components, such as editor and plugins, user-provided containers, or other types of components

object
container: object

Allows adding and configuring workspace-related containers

args: 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.

string
command: 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.

string
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

endpoints: object[]
object
attributes: object

Map of implementation-dependant string-based free-form attributes.

Examples of Che-specific attributes:

  • cookiesAuthEnabled: "true" / "false",
  • type: "terminal" / "ide" / "ide-dev",
exposure: string , x ∈ { public , internal , none }

Describes how the endpoint should be exposed on the network.

  • public means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
  • internal means that the endpoint will be exposed internally outside of the main workspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
  • none means that the endpoint will not be exposed and will only be accessible inside the main workspace POD, on a local address.

Default value is public

name: string
path: string

Path of the endpoint URL

protocol: string

Describes the application and transport protocols of the traffic that will go through this endpoint.

  • http: Endpoint will have http traffic, typically on a TCP connection. It will be automaticaly promoted to https when the secure field is set to true.
  • https: Endpoint will have https traffic, typically on a TCP connection.
  • ws: Endpoint will have ws traffic, typically on a TCP connection. It will be automaticaly promoted to wss when the secure field is set to true.
  • wss: Endpoint will have wss traffic, typically on a TCP connection.
  • tcp: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
  • udp: Endpoint will have traffic on an UDP connection, without specifying an application protocol.

Default value is http

secure: boolean

Describes whether the endpoint should be secured and protected by some authentication process

targetPort: integer
env: object[]

Environment variables used in this container

object
name: string
value: string
image: string
memoryLimit: string
mountSources: boolean
name: string
sourceMapping: string

Optional specification of the path in the container where project sources should be transferred/mounted when mountSources is true. When omitted, the value of the PROJECTS_ROOT environment variable is used.

volumeMounts: object[]

List of volumes mounts that should be mounted is this container.

object

Volume that should be mounted to a component container

name: string

The volume mount name is the name of an existing Volume component. If no corresponding Volume component exist it is implicitly added. If several containers mount the same volume name then they will reuse the same volume and will be able to access to the same files.

path: string

The path in the component container where the volume should be mounted. If not path is mentioned, default path is the is /<name>.

kubernetes: object

Allows importing into the workspace the Kubernetes resources defined in a given manifest. For example this allows reusing the Kubernetes definitions used to deploy some runtime components in production.

inlined: string

Inlined manifest

uri: string

Location in a file fetched from a uri.

endpoints: object[]
object
attributes: object

Map of implementation-dependant string-based free-form attributes.

Examples of Che-specific attributes:

  • cookiesAuthEnabled: "true" / "false",
  • type: "terminal" / "ide" / "ide-dev",
exposure: string , x ∈ { public , internal , none }

Describes how the endpoint should be exposed on the network.

  • public means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
  • internal means that the endpoint will be exposed internally outside of the main workspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
  • none means that the endpoint will not be exposed and will only be accessible inside the main workspace POD, on a local address.

Default value is public

name: string
path: string

Path of the endpoint URL

protocol: string

Describes the application and transport protocols of the traffic that will go through this endpoint.

  • http: Endpoint will have http traffic, typically on a TCP connection. It will be automaticaly promoted to https when the secure field is set to true.
  • https: Endpoint will have https traffic, typically on a TCP connection.
  • ws: Endpoint will have ws traffic, typically on a TCP connection. It will be automaticaly promoted to wss when the secure field is set to true.
  • wss: Endpoint will have wss traffic, typically on a TCP connection.
  • tcp: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
  • udp: Endpoint will have traffic on an UDP connection, without specifying an application protocol.

Default value is http

secure: boolean

Describes whether the endpoint should be secured and protected by some authentication process

targetPort: integer
name: string

Mandatory name that allows referencing the component in commands, or inside a parent

openshift: object

Allows importing into the workspace the OpenShift resources defined in a given manifest. For example this allows reusing the OpenShift definitions used to deploy some runtime components in production.

inlined: string

Inlined manifest

uri: string

Location in a file fetched from a uri.

endpoints: object[]
object
attributes: object

Map of implementation-dependant string-based free-form attributes.

Examples of Che-specific attributes:

  • cookiesAuthEnabled: "true" / "false",
  • type: "terminal" / "ide" / "ide-dev",
exposure: string , x ∈ { public , internal , none }

Describes how the endpoint should be exposed on the network.

  • public means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
  • internal means that the endpoint will be exposed internally outside of the main workspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
  • none means that the endpoint will not be exposed and will only be accessible inside the main workspace POD, on a local address.

Default value is public

name: string
path: string

Path of the endpoint URL

protocol: string

Describes the application and transport protocols of the traffic that will go through this endpoint.

  • http: Endpoint will have http traffic, typically on a TCP connection. It will be automaticaly promoted to https when the secure field is set to true.
  • https: Endpoint will have https traffic, typically on a TCP connection.
  • ws: Endpoint will have ws traffic, typically on a TCP connection. It will be automaticaly promoted to wss when the secure field is set to true.
  • wss: Endpoint will have wss traffic, typically on a TCP connection.
  • tcp: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
  • udp: Endpoint will have traffic on an UDP connection, without specifying an application protocol.

Default value is http

secure: boolean

Describes whether the endpoint should be secured and protected by some authentication process

targetPort: integer
name: string

Mandatory name that allows referencing the component in commands, or inside a parent

plugin: object

Allows importing a plugin.

Plugins are mainly imported devfiles that contribute components, commands and events as a consistent single unit. They are defined in either YAML files following the devfile syntax, or as DevWorkspaceTemplate Kubernetes Custom Resources

id: string

Id in a registry that contains a Devfile yaml file

kubernetes: object

Reference to a Kubernetes CRD of type DevWorkspaceTemplate

name: string
namespace: string
uri: string

Uri of a Devfile yaml file

commands: object[]

Overrides of commands encapsulated in a plugin. Overriding is done using a strategic merge

object
apply: object

Command that consists in applying a given component definition, typically bound to a workspace event.

For example, when an apply command is bound to a preStart event, and references a container component, it will start the container as a K8S initContainer in the workspace POD, unless the component has its dedicatedPod field set to true.

When no apply command exist for a given component, it is assumed the component will be applied at workspace start by default.

attributes: object

Optional map of free-form additional command attributes

component: string

Describes component that will be applied

group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

label: string

Optional label that provides a label for this command to be used in Editor UI menus for example

composite: object

Composite command that allows executing several sub-commands either sequentially or concurrently

attributes: object

Optional map of free-form additional command attributes

commands: string[]

The commands that comprise this composite command

string
group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

label: string

Optional label that provides a label for this command to be used in Editor UI menus for example

parallel: boolean

Indicates if the sub-commands should be executed concurrently

exec: object

CLI Command executed in an existing component container

attributes: object

Optional map of free-form additional command attributes

commandLine: string

The actual command-line string

component: string

Describes component to which given action relates

env: object[]

Optional list of environment variables that have to be set before running the command

object
name: string
value: string
group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

label: string

Optional label that provides a label for this command to be used in Editor UI menus for example

workingDir: string

Working directory where the command should be executed

vscodeLaunch: object

Command providing the definition of a VsCode launch action

inlined: string

Inlined content of the VsCode configuration

uri: string

Location as an absolute of relative URI the VsCode configuration will be fetched from

attributes: object

Optional map of free-form additional command attributes

group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

vscodeTask: object

Command providing the definition of a VsCode Task

inlined: string

Inlined content of the VsCode configuration

uri: string

Location as an absolute of relative URI the VsCode configuration will be fetched from

attributes: object

Optional map of free-form additional command attributes

group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

components: object[]

Overrides of components encapsulated in a plugin. Overriding is done using a strategic merge

object
container: object

Configuration overriding for a Container component

args: 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.

string
command: 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.

string
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

endpoints: object[]
object
attributes: object

Map of implementation-dependant string-based free-form attributes.

Examples of Che-specific attributes:

  • cookiesAuthEnabled: "true" / "false",
  • type: "terminal" / "ide" / "ide-dev",
exposure: string , x ∈ { public , internal , none }

Describes how the endpoint should be exposed on the network.

  • public means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
  • internal means that the endpoint will be exposed internally outside of the main workspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
  • none means that the endpoint will not be exposed and will only be accessible inside the main workspace POD, on a local address.

Default value is public

name: string
path: string

Path of the endpoint URL

protocol: string

Describes the application and transport protocols of the traffic that will go through this endpoint.

  • http: Endpoint will have http traffic, typically on a TCP connection. It will be automaticaly promoted to https when the secure field is set to true.
  • https: Endpoint will have https traffic, typically on a TCP connection.
  • ws: Endpoint will have ws traffic, typically on a TCP connection. It will be automaticaly promoted to wss when the secure field is set to true.
  • wss: Endpoint will have wss traffic, typically on a TCP connection.
  • tcp: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
  • udp: Endpoint will have traffic on an UDP connection, without specifying an application protocol.

Default value is http

secure: boolean

Describes whether the endpoint should be secured and protected by some authentication process

targetPort: integer
env: object[]

Environment variables used in this container

object
name: string
value: string
image: string
memoryLimit: string
mountSources: boolean
name: string
sourceMapping: string

Optional specification of the path in the container where project sources should be transferred/mounted when mountSources is true. When omitted, the value of the PROJECTS_ROOT environment variable is used.

volumeMounts: object[]

List of volumes mounts that should be mounted is this container.

object

Volume that should be mounted to a component container

name: string

The volume mount name is the name of an existing Volume component. If no corresponding Volume component exist it is implicitly added. If several containers mount the same volume name then they will reuse the same volume and will be able to access to the same files.

path: string

The path in the component container where the volume should be mounted. If not path is mentioned, default path is the is /<name>.

kubernetes: object

Configuration overriding for a Kubernetes component

inlined: string

Inlined manifest

uri: string

Location in a file fetched from a uri.

endpoints: object[]
object
attributes: object

Map of implementation-dependant string-based free-form attributes.

Examples of Che-specific attributes:

  • cookiesAuthEnabled: "true" / "false",
  • type: "terminal" / "ide" / "ide-dev",
exposure: string , x ∈ { public , internal , none }

Describes how the endpoint should be exposed on the network.

  • public means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
  • internal means that the endpoint will be exposed internally outside of the main workspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
  • none means that the endpoint will not be exposed and will only be accessible inside the main workspace POD, on a local address.

Default value is public

name: string
path: string

Path of the endpoint URL

protocol: string

Describes the application and transport protocols of the traffic that will go through this endpoint.

  • http: Endpoint will have http traffic, typically on a TCP connection. It will be automaticaly promoted to https when the secure field is set to true.
  • https: Endpoint will have https traffic, typically on a TCP connection.
  • ws: Endpoint will have ws traffic, typically on a TCP connection. It will be automaticaly promoted to wss when the secure field is set to true.
  • wss: Endpoint will have wss traffic, typically on a TCP connection.
  • tcp: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
  • udp: Endpoint will have traffic on an UDP connection, without specifying an application protocol.

Default value is http

secure: boolean

Describes whether the endpoint should be secured and protected by some authentication process

targetPort: integer
name: string

Mandatory name that allows referencing the component in commands, or inside a parent

openshift: object

Configuration overriding for an OpenShift component

inlined: string

Inlined manifest

uri: string

Location in a file fetched from a uri.

endpoints: object[]
object
attributes: object

Map of implementation-dependant string-based free-form attributes.

Examples of Che-specific attributes:

  • cookiesAuthEnabled: "true" / "false",
  • type: "terminal" / "ide" / "ide-dev",
exposure: string , x ∈ { public , internal , none }

Describes how the endpoint should be exposed on the network.

  • public means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
  • internal means that the endpoint will be exposed internally outside of the main workspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
  • none means that the endpoint will not be exposed and will only be accessible inside the main workspace POD, on a local address.

Default value is public

name: string
path: string

Path of the endpoint URL

protocol: string

Describes the application and transport protocols of the traffic that will go through this endpoint.

  • http: Endpoint will have http traffic, typically on a TCP connection. It will be automaticaly promoted to https when the secure field is set to true.
  • https: Endpoint will have https traffic, typically on a TCP connection.
  • ws: Endpoint will have ws traffic, typically on a TCP connection. It will be automaticaly promoted to wss when the secure field is set to true.
  • wss: Endpoint will have wss traffic, typically on a TCP connection.
  • tcp: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
  • udp: Endpoint will have traffic on an UDP connection, without specifying an application protocol.

Default value is http

secure: boolean

Describes whether the endpoint should be secured and protected by some authentication process

targetPort: integer
name: string

Mandatory name that allows referencing the component in commands, or inside a parent

volume: object

Configuration overriding for a Volume component

name: string

Mandatory name that allows referencing the Volume component in Container volume mounts or inside a parent

size: string

Size of the volume

name: string

Optional name that allows referencing the component in commands, or inside a parent If omitted it will be infered from the location (uri or registryEntry)

registryUrl: string
volume: object

Allows specifying the definition of a volume shared by several other components

name: string

Mandatory name that allows referencing the Volume component in Container volume mounts or inside a parent

size: string

Size of the volume

events: object

Bindings of commands to events. Each command is referred-to by its name.

postStart: string[]

Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.

string
postStop: string[]

Names of commands that should be executed after stopping the workspace.

string
preStart: string[]

Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.

string
preStop: string[]

Names of commands that should be executed before stopping the workspace.

string
parent: object

Parent workspace template

id: string

Id in a registry that contains a Devfile yaml file

kubernetes: object

Reference to a Kubernetes CRD of type DevWorkspaceTemplate

name: string
namespace: string
uri: string

Uri of a Devfile yaml file

commands: object[]

Predefined, ready-to-use, workspace-related commands

object
apply: object

Command that consists in applying a given component definition, typically bound to a workspace event.

For example, when an apply command is bound to a preStart event, and references a container component, it will start the container as a K8S initContainer in the workspace POD, unless the component has its dedicatedPod field set to true.

When no apply command exist for a given component, it is assumed the component will be applied at workspace start by default.

attributes: object

Optional map of free-form additional command attributes

component: string

Describes component that will be applied

group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

label: string

Optional label that provides a label for this command to be used in Editor UI menus for example

composite: object

Composite command that allows executing several sub-commands either sequentially or concurrently

attributes: object

Optional map of free-form additional command attributes

commands: string[]

The commands that comprise this composite command

string
group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

label: string

Optional label that provides a label for this command to be used in Editor UI menus for example

parallel: boolean

Indicates if the sub-commands should be executed concurrently

exec: object

CLI Command executed in an existing component container

attributes: object

Optional map of free-form additional command attributes

commandLine: string

The actual command-line string

component: string

Describes component to which given action relates

env: object[]

Optional list of environment variables that have to be set before running the command

object
name: string
value: string
group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

label: string

Optional label that provides a label for this command to be used in Editor UI menus for example

workingDir: string

Working directory where the command should be executed

vscodeLaunch: object

Command providing the definition of a VsCode launch action

inlined: string

Inlined content of the VsCode configuration

uri: string

Location as an absolute of relative URI the VsCode configuration will be fetched from

attributes: object

Optional map of free-form additional command attributes

group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

vscodeTask: object

Command providing the definition of a VsCode Task

inlined: string

Inlined content of the VsCode configuration

uri: string

Location as an absolute of relative URI the VsCode configuration will be fetched from

attributes: object

Optional map of free-form additional command attributes

group: object

Defines the group this command is part of

isDefault: boolean

Identifies the default command for a given group kind

kind: string , x ∈ { build , run , test , debug }

Kind of group the command is part of

id: string

Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events.

components: object[]

List of the workspace components, such as editor and plugins, user-provided containers, or other types of components

object
container: object

Allows adding and configuring workspace-related containers

args: 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.

string
command: 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.

string
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

endpoints: object[]
object
attributes: object

Map of implementation-dependant string-based free-form attributes.

Examples of Che-specific attributes:

  • cookiesAuthEnabled: "true" / "false",
  • type: "terminal" / "ide" / "ide-dev",
exposure: string , x ∈ { public , internal , none }

Describes how the endpoint should be exposed on the network.

  • public means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
  • internal means that the endpoint will be exposed internally outside of the main workspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
  • none means that the endpoint will not be exposed and will only be accessible inside the main workspace POD, on a local address.

Default value is public

name: string
path: string

Path of the endpoint URL

protocol: string

Describes the application and transport protocols of the traffic that will go through this endpoint.

  • http: Endpoint will have http traffic, typically on a TCP connection. It will be automaticaly promoted to https when the secure field is set to true.
  • https: Endpoint will have https traffic, typically on a TCP connection.
  • ws: Endpoint will have ws traffic, typically on a TCP connection. It will be automaticaly promoted to wss when the secure field is set to true.
  • wss: Endpoint will have wss traffic, typically on a TCP connection.
  • tcp: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
  • udp: Endpoint will have traffic on an UDP connection, without specifying an application protocol.

Default value is http

secure: boolean

Describes whether the endpoint should be secured and protected by some authentication process

targetPort: integer
env: object[]

Environment variables used in this container