Skip to main content
Datum Cloud governs how much of each resource type a consumer may use through the quota.miloapis.com API. Capacity is allocated to a consumer with a ResourceGrant, individual requests draw against that capacity with a ResourceClaim, and an AllowanceBucket continuously aggregates the two to report how much remains available for admission decisions.
The quota API is alpha (v1alpha1). Fields and behavior may change in backward-incompatible ways between releases.

Resources

AllowanceBucket

Aggregates quota limits and usage for a single consumer and resource type, reporting the capacity still available.

ResourceClaim

Requests quota allocation when a resource is created, consuming capacity from the matching bucket.

ResourceGrant

Allocates quota capacity to a consumer for specific resource types, supplying the allowances buckets aggregate.

How the pieces fit together

  • A ResourceGrant grants a consumer capacity for one or more resource types. Only grants with an Active status contribute to available quota.
  • An AllowanceBucket is created automatically for each unique consumer and resource type. It sums capacity from active grants and consumption from granted claims, then reports the remaining status.available.
  • A ResourceClaim requests an allocation for a resource type. The quota system checks the matching bucket’s available capacity to decide whether the claim can be granted.
Inspect the exact fields for any resource with datumctl explain, for example datumctl explain allowancebuckets.spec or datumctl explain resourceclaims.spec.

Learn more

Last modified on July 2, 2026