Class ResourceLimit (2.6.1)

Stay organized with collections Save and categorize content based on your preferences.
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.

Inheritance

builtins.object > proto.message.Message > ResourceLimit