Chapter 1. Schedule and quota APIs
1.1. AppliedClusterResourceQuota [quota.openshift.io/v1] Copy linkLink copied to clipboard!
- Description
AppliedClusterResourceQuota mirrors ClusterResourceQuota at a project scope, for projection into a project. It allows a project-admin to know which ClusterResourceQuotas are applied to his project and their associated usage.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- Type
-
object
1.2. ClusterResourceQuota [quota.openshift.io/v1] Copy linkLink copied to clipboard!
- Description
ClusterResourceQuota mirrors ResourceQuota at a cluster scope. This object is easily convertible to synthetic ResourceQuota object to allow quota evaluation re-use.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- Type
-
object
1.3. DeviceClass [resource.k8s.io/v1] Copy linkLink copied to clipboard!
- Description
DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
- Type
-
object
1.4. FlowSchema [flowcontrol.apiserver.k8s.io/v1] Copy linkLink copied to clipboard!
- Description
- FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".
- Type
-
object
1.5. LimitRange [v1] Copy linkLink copied to clipboard!
- Description
- LimitRange sets resource usage limits for each kind of resource in a Namespace.
- Type
-
object
1.6. PriorityClass [scheduling.k8s.io/v1] Copy linkLink copied to clipboard!
- Description
- PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
- Type
-
object
1.7. PriorityLevelConfiguration [flowcontrol.apiserver.k8s.io/v1] Copy linkLink copied to clipboard!
- Description
- PriorityLevelConfiguration represents the configuration of a priority level.
- Type
-
object
1.8. ResourceQuota [v1] Copy linkLink copied to clipboard!
- Description
- ResourceQuota sets aggregate quota restrictions enforced per namespace
- Type
-
object
1.9. ResourceClaim [resource.k8s.io/v1] Copy linkLink copied to clipboard!
- Description
ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
- Type
-
object
1.10. ResourceClaimTemplate [resource.k8s.io/v1] Copy linkLink copied to clipboard!
- Description
ResourceClaimTemplate is used to produce ResourceClaim objects.
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
- Type
-
object
1.11. ResourceSlice [resource.k8s.io/v1] Copy linkLink copied to clipboard!
- Description
ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.
At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>.
Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.
When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.
For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
- Type
-
object