kubernetes v1.37

Device.attributes.[key]

DeviceAttribute must have exactly one field set.

8 fields
Device.attributes.[key] fields and descriptions
Field / TypeDescription
bool
boolean

BoolValue is a true/false value.

boolean[]

BoolValues is a non-empty list of true/false values.

  • x-kubernetes-list-type: "atomic"
int
integer

IntValue is a number.

  • format: int64
integer[]

IntValues is a non-empty list of numbers. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

  • x-kubernetes-list-type: "atomic"
string
string

StringValue is a string. Must not be longer than 64 characters.

string[]

StringValues is a non-empty list of strings. Each string must not be longer than 64 characters. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

  • x-kubernetes-list-type: "atomic"
version
string

VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.

string[]

VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. Each version string must not be longer than 64 characters. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

  • x-kubernetes-list-type: "atomic"