Container interface

A container instance.

Properties

command

The commands to execute within the container instance in exec form.

environmentVariables

The environment variables to set in the container instance.

image

The name of the image used to create the container instance.

instanceView

The instance view of the container instance. Only valid in response. NOTE: This property will not be serialized. It can only be populated by the server.

livenessProbe

The liveness probe.

name

The user-provided name of the container instance.

ports

The exposed ports on the container instance.

readinessProbe

The readiness probe.

resources

The resource requirements of the container instance.

securityContext

The container security properties.

volumeMounts

The volume mounts available to the container instance.

Property Details

command

The commands to execute within the container instance in exec form.

command?: string[]

Property Value

string[]

environmentVariables

The environment variables to set in the container instance.

environmentVariables?: EnvironmentVariable[]

Property Value

image

The name of the image used to create the container instance.

image: string

Property Value

string

instanceView

The instance view of the container instance. Only valid in response. NOTE: This property will not be serialized. It can only be populated by the server.

instanceView?: ContainerPropertiesInstanceView

Property Value

livenessProbe

The liveness probe.

livenessProbe?: ContainerProbe

Property Value

name

The user-provided name of the container instance.

name: string

Property Value

string

ports

The exposed ports on the container instance.

ports?: ContainerPort[]

Property Value

readinessProbe

The readiness probe.

readinessProbe?: ContainerProbe

Property Value

resources

The resource requirements of the container instance.

resources: ResourceRequirements

Property Value

securityContext

The container security properties.

securityContext?: SecurityContextDefinition

Property Value

volumeMounts

The volume mounts available to the container instance.

volumeMounts?: VolumeMount[]

Property Value