Class WorkerPoolSpec (0.3.1)

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

Represents the spec of a worker pool in a job.

Attributes

NameDescription
container_spec `.custom_job.ContainerSpec`
The custom container task.
python_package_spec `.custom_job.PythonPackageSpec`
The Python packaged task.
machine_spec `.machine_resources.MachineSpec`
Required. Immutable. The specification of a single machine.
replica_count int
Required. The number of worker replicas to use for this worker pool.
disk_spec `.machine_resources.DiskSpec`
Disk spec.

Inheritance

builtins.object > proto.message.Message > WorkerPoolSpec