ContainerGroupInitContainer

data class ContainerGroupInitContainer(val args: List<String>? = null, val commands: List<String>? = null, val cpu: Double? = null, val environmentVars: List<ContainerGroupInitContainerEnvironmentVar>? = null, val gpu: Int? = null, val image: String? = null, val imagePullPolicy: String? = null, val memory: Double? = null, val name: String? = null, val ports: List<ContainerGroupInitContainerPort>? = null, val ready: Boolean? = null, val restartCount: Int? = null, val securityContexts: List<ContainerGroupInitContainerSecurityContext>? = null, val volumeMounts: List<ContainerGroupInitContainerVolumeMount>? = null, val workingDir: String? = null)

Constructors

Link copied to clipboard
constructor(args: List<String>? = null, commands: List<String>? = null, cpu: Double? = null, environmentVars: List<ContainerGroupInitContainerEnvironmentVar>? = null, gpu: Int? = null, image: String? = null, imagePullPolicy: String? = null, memory: Double? = null, name: String? = null, ports: List<ContainerGroupInitContainerPort>? = null, ready: Boolean? = null, restartCount: Int? = null, securityContexts: List<ContainerGroupInitContainerSecurityContext>? = null, volumeMounts: List<ContainerGroupInitContainerVolumeMount>? = null, workingDir: String? = null)

Types

Link copied to clipboard
object Companion

Properties

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

The arguments passed to the commands.

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

The commands run by the init container.

Link copied to clipboard
val cpu: Double? = null

The amount of CPU resources allocated to the container. Default value: 0.

Link copied to clipboard

The structure of environmentVars. See environment_vars below.

Link copied to clipboard
val gpu: Int? = null

The number GPUs. Default value: 0.

Link copied to clipboard
val image: String? = null

The image of the container.

Link copied to clipboard
val imagePullPolicy: String? = null

The restart policy of the image. Default value: IfNotPresent. Valid values: Always, IfNotPresent, Never.

Link copied to clipboard
val memory: Double? = null

The amount of memory resources allocated to the container. Default value: 0.

Link copied to clipboard
val name: String? = null

The name of the mounted volume.

Link copied to clipboard

The structure of port. See ports below.

Link copied to clipboard
val ready: Boolean? = null

Indicates whether the container passed the readiness probe.

Link copied to clipboard
val restartCount: Int? = null

The number of times that the container restarted.

Link copied to clipboard

The security context of the container. See security_context below.

Link copied to clipboard

The structure of volumeMounts. See volume_mounts below.

Link copied to clipboard
val workingDir: String? = null

The working directory of the container.