Skip to main content
Schemaobject

io.k8s.api.resource.v1.ResourcePool

ResourcePool describes the pool that ResourceSlices belong to.

Source
specs/apis__resource.k8s.io__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
generation integer (int64)
required

Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted. Combined with ResourceSliceCount, thi…

name string
required

Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required. A field selector can be used to list only ResourceSlice objects belonging to a certain pool. It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.

resourceSliceCount integer (int64)
required

ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.