Builder
Properties
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.
The environment variables to pass to a container.
The image pull policy for the container. Supported values are Always
, IfNotPresent
, and Never
. This parameter defaults to IfNotPresent
. However, if the :latest
tag is specified, it defaults to Always
. For more information, see Updating images in the Kubernetes documentation.
The type and amount of resources to assign to a container. The supported resources include memory
, cpu
, and nvidia.com/gpu
. For more information, see Resource management for pods and containers in the Kubernetes documentation.
The security context for a job. For more information, see Configure a security context for a pod or container in the Kubernetes documentation.
The volume mounts for the container. Batch supports emptyDir
, hostPath
, and secret
volume types. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation.
Functions
construct an aws.sdk.kotlin.services.batch.model.EksContainerResourceRequirements inside the given block
construct an aws.sdk.kotlin.services.batch.model.EksContainerSecurityContext inside the given block