ContainerArgs

data class ContainerArgs(val command: Output<List<String>>? = null, val configMap: Output<ConfigMapArgs>? = null, val environmentVariables: Output<List<EnvironmentVariableArgs>>? = null, val image: Output<String>? = null, val livenessProbe: Output<ContainerProbeArgs>? = null, val name: Output<String>, val ports: Output<List<ContainerPortArgs>>? = null, val readinessProbe: Output<ContainerProbeArgs>? = null, val resources: Output<ResourceRequirementsArgs>? = null, val securityContext: Output<SecurityContextDefinitionArgs>? = null, val volumeMounts: Output<List<VolumeMountArgs>>? = null) : ConvertibleToJava<ContainerArgs>

A container instance.

Constructors

Link copied to clipboard
constructor(command: Output<List<String>>? = null, configMap: Output<ConfigMapArgs>? = null, environmentVariables: Output<List<EnvironmentVariableArgs>>? = null, image: Output<String>? = null, livenessProbe: Output<ContainerProbeArgs>? = null, name: Output<String>, ports: Output<List<ContainerPortArgs>>? = null, readinessProbe: Output<ContainerProbeArgs>? = null, resources: Output<ResourceRequirementsArgs>? = null, securityContext: Output<SecurityContextDefinitionArgs>? = null, volumeMounts: Output<List<VolumeMountArgs>>? = null)

Properties

Link copied to clipboard
val command: Output<List<String>>? = null

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

Link copied to clipboard
val configMap: Output<ConfigMapArgs>? = null

The config map.

Link copied to clipboard

The environment variables to set in the container instance.

Link copied to clipboard
val image: Output<String>? = null

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

Link copied to clipboard
val livenessProbe: Output<ContainerProbeArgs>? = null

The liveness probe.

Link copied to clipboard
val name: Output<String>

The user-provided name of the container instance.

Link copied to clipboard
val ports: Output<List<ContainerPortArgs>>? = null

The exposed ports on the container instance.

Link copied to clipboard
val readinessProbe: Output<ContainerProbeArgs>? = null

The readiness probe.

Link copied to clipboard
val resources: Output<ResourceRequirementsArgs>? = null

The resource requirements of the container instance.

Link copied to clipboard

The container security properties.

Link copied to clipboard
val volumeMounts: Output<List<VolumeMountArgs>>? = null

The volume mounts available to the container instance.

Functions

Link copied to clipboard
open override fun toJava(): ContainerArgs