Module: AWSCDK::Batch::ImagePullPolicy
- Defined in:
- batch/image_pull_policy.rb
Overview
Determines when the image is pulled from the registry to launch a container.
Constant Summary collapse
- ALWAYS =
Deprecated.Note:
Default:
Every time the kubelet launches a container, the kubelet queries the container image registry to resolve the name to an image digest.
If the kubelet has a container image with that exact digest cached locally, the kubelet uses its cached image; otherwise, the kubelet pulls the image with the resolved digest, and uses that image to launch the container.
Jsii::Enum.new("aws-cdk-lib.aws_batch.ImagePullPolicy", "ALWAYS")
- IF_NOT_PRESENT =
Deprecated.Note:
Default:
The image is pulled only if it is not already present locally.
Jsii::Enum.new("aws-cdk-lib.aws_batch.ImagePullPolicy", "IF_NOT_PRESENT")
- NEVER =
Deprecated.Note:
Default:
The kubelet does not try fetching the image.
If the image is somehow already present locally, the kubelet attempts to start the container; otherwise, startup fails. See pre-pulled images for more details.
Jsii::Enum.new("aws-cdk-lib.aws_batch.ImagePullPolicy", "NEVER")