Class ContainerSpec (0.3.1)

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

The spec of a Container.

Attributes

NameDescription
image_uri str
Required. The URI of a container image in the Container Registry that is to be run on each worker replica.
command Sequence[str]
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
args Sequence[str]
The arguments to be passed when starting the container.

Inheritance

builtins.object > proto.message.Message > ContainerSpec