kubernetes v1.33

BasicDevice.consumesCounters

ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).

2 fields
BasicDevice.consumesCounters fields and descriptions
Field / TypeDescription
counterSet
string required

CounterSet is the name of the set from which the counters defined will be consumed.

map[string]Counter required

Counters defines the counters that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).