kubernetes v1.33

ResourceSliceSpec.sharedCounters

SharedCounters defines a list of counter sets, each of which has a name and a list of counters available. The names of the SharedCounters must be unique in the ResourceSlice. The maximum number of SharedCounters is 32.

2 fields
ResourceSliceSpec.sharedCounters fields and descriptions
Field / TypeDescription
map[string]Counter required

Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label. To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix. The maximum number of counters is 32.

name
string required

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