Class ContainerSpec (1.35.0)

  ContainerSpec 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

The spec of a Container.

Attributes

Name
Description
image_uri
str
Required. The URI of a container image in the Container Registry that is to be run on each worker replica.
command
MutableSequence[str]
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
args
MutableSequence[str]
The arguments to be passed when starting the container.
env
MutableSequence[ google.cloud.aiplatform_v1.types.EnvVar ]
Environment variables to be passed to the container. Maximum limit is 100.