# io.k8s.api.resource.v1beta2.CounterSet

From **Kubernetes**.

CounterSet defines a named set of counters that are available to be used by devices defined in the ResourcePool.

The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.

- Type: `object`

## Properties

### `counters`

- Required: true
- Type: `object`

Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.

The maximum number of counters is 32.

### `name`

- Required: true
- Type: `string`

Name defines the name of the counter set. It must be a DNS label.

## JSON Schema

```json
{"description":"CounterSet defines a named set of counters that are available to be used by devices defined in the ResourcePool.\n\nThe counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.","properties":{"counters":{"additionalProperties":{"$ref":"#/components/schemas/io.k8s.api.resource.v1beta2.Counter"},"description":"Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.\n\nThe maximum number of counters is 32.","type":"object"},"name":{"default":"","description":"Name defines the name of the counter set. It must be a DNS label.","type":"string"}},"required":["name","counters"],"type":"object"}
```
