Skip to main content

ResDevice

Description

ResDevice structure groups the resource requests in Trirematics.


Name field of tag name

The Name of Kubernetes extended or normal (cpu, memory, etc.) node resources. Usually should refer to Gaia device resources as gaia.t9s.io/* but any other extended resources is allowed as long as the device plugin is already deployed. According to Kubernetes conventions, the resource names should be in the annotations' convention. The only exception is the default prefix of "kubernetes.io/" used for the default resources: "cpu", "memory", "storage", "ephemeral-storage", "hugepages-", and "attachable-volumes-".

Kind: ResourceName
Tag: name
Data Type: string
Maximum Length: 63
Optional: False


Units field of tag units

The Units of the resource to be allocated for the container. It may contain the unit if understandable by Kubernetes. For most hardware devices though, the value is mere positive integer. It accepts the ISO standard suffixes for the computer units.

Kind: Quantity
Tag: units
Data Type: Struct
Optional: False