Class ResourceLimit (2.53.0)

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

Contains information about amount of some resource in the cluster. For memory, value should be in GB.

Attributes

Name Description
resource_type str
Resource name "cpu", "memory" or gpu-specific string.
minimum int
Minimum amount of the resource in the cluster.
maximum int
Maximum amount of the resource in the cluster.