JobDefinitionEksPropertiesPodPropertiesContainers

data class JobDefinitionEksPropertiesPodPropertiesContainers(val args: List<String>? = null, val commands: List<String>? = null, val envs: List<JobDefinitionEksPropertiesPodPropertiesContainersEnv>? = null, val image: String, val imagePullPolicy: String? = null, val name: String? = null, val resources: JobDefinitionEksPropertiesPodPropertiesContainersResources? = null, val securityContext: JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext? = null, val volumeMounts: List<JobDefinitionEksPropertiesPodPropertiesContainersVolumeMount>? = null)

Constructors

Types

Link copied to clipboard
object Companion

Properties

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

An array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.

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

The entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.

Link copied to clipboard

The environment variables to pass to a container. See EKS Environment below.

Link copied to clipboard

The Docker image used to start the container.

Link copied to clipboard
val imagePullPolicy: String? = null

The image pull policy for the container. Supported values are Always, IfNotPresent, and Never.

Link copied to clipboard
val name: String? = null

The name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name.

Link copied to clipboard

The type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.

Link copied to clipboard
Link copied to clipboard

The volume mounts for the container.