Class ResourceLimit (2.11.2)

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

NameDescription
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.