ByteTrending
  • Home
    • About ByteTrending
    • Contact us
    • Privacy Policy
    • Terms of Service
  • Tech
  • Science
  • Review
  • Popular
  • Curiosity
Donate
No Result
View All Result
ByteTrending
No Result
View All Result
Home Tech
Related image for kubernetes

Kubernetes v1.34: DRA Consumable Capacity

ByteTrending by ByteTrending
October 14, 2025
in Tech
Reading Time: 3 mins read
0
Share on FacebookShare on ThreadsShare on BlueskyShare on Twitter

Dynamic Resource Allocation (DRA) provides a Kubernetes API for effectively managing scarce resources across Pods and containers. It moves beyond simple device allocation by enabling flexible resource requests, supporting more granular usage scenarios. With DRA, users can request specific types of devices based on their attributes, define custom configurations tailored to their workloads, and even share the same resource among multiple containers or Pods—a capability significantly expanded with Kubernetes v1.34.

Understanding Device Sharing via ResourceClaims

From its inception, DRA has facilitated device sharing by referencing the same ResourceClaim across multiple Pods. This design effectively decouples resource allocation from specific hardware, enabling more dynamic and reusable provisioning of devices. Furthermore, Kubernetes 1.33 introduced support for partitionable devices, allowing resource drivers to advertise slices of a device that are available—a significant improvement over exposing the entire device as an all-or-nothing resource.

However, earlier versions lacked support for scenarios involving fine-grained, dynamic portions of a device resource, managed based on user demand or shared independently of ResourceClaims. This is where consumable capacity for DRA steps in, offering a powerful solution to address these limitations and improve the overall flexibility of Kubernetes.

Benefits of DRA Consumable Capacity Support

Enabling the DRAConsumableCapacity feature gate unlocks several key benefits for Kubernetes users and device driver developers alike.

Related Post

Kubernetes v1.35 supporting coverage of Kubernetes v1.35

How Kubernetes v1.35 Streamlines Container Management

March 26, 2026
Related image for nanostructure fabrication

3D Nanostructures: A New Era of Fabrication

March 11, 2026

Kubernetes v1.35: Extended Toleration Operators

January 18, 2026

Kubernetes 1.35: Enhanced Debugging with Versioned z-pages APIs

January 10, 2026

Sharing Devices Across Multiple ResourceClaims or DeviceRequests

Resource drivers can now support sharing the same device—or even a slice of a device—across multiple ResourceClaims or across multiple DeviceRequests. This means Pods from different namespaces can simultaneously share a device, provided it’s permitted and supported by the specific DRA driver. Consequently, resource utilization is improved, and hardware efficiency increases.

Enhanced Device Resource Allocation

Kubernetes extends its scheduling algorithm to support allocating portions of a device’s resources as defined in the capacity field. The scheduler ensures that the total allocated capacity never exceeds the overall device capacity, even when shared across multiple ResourceClaims or DeviceRequests—mirroring how Pods and containers typically share allocatable resources on Nodes. This expansion facilitates scenarios where drivers manage resources within a device on a per-process basis, such as allocating memory from virtual GPUs or setting bandwidth limits on network interfaces for specific Pods.

DRA Consumable Capacity Sharing
Illustrating device sharing with DRA consumable capacity in Kubernetes.

Introducing the DistinctAttribute Constraint

A new constraint, DistinctAttribute, has been introduced to complement the existing MatchAttribute constraint. Its primary purpose is to prevent the same underlying device from being allocated multiple times within a single ResourceClaim—a potential issue with shareable devices. For example, this constraint becomes particularly useful when allocating network devices connecting to different subnets for expanded coverage or redundancy across failure domains.

Implementing Consumable Capacity

DRAConsumableCapacity is introduced as an alpha feature in Kubernetes 1.34, requiring the feature gate to be enabled in kubelet, kube-apiserver, kube-scheduler, and kube-controller-manager. This can be achieved by adding the following flag during startup:

--feature-gates=...,DRAConsumableCapacity=true

For DRA Driver Developers

As a DRA driver developer, you can enable multiple allocations by setting AllowMultipleAllocations to true within the device configuration. Furthermore, you can define a policy for resource consumption using the RequestPolicy field in the DeviceCapacity.

Device {
  ... 
  AllowMultipleAllocations: ptr.To(true),
  ...
}

For Consumers

As a consumer, you can define a ResourceClaim to request a specific portion of the device capacity, as demonstrated in the example below:

apiVersion: resource.k8s.io/v1
kind: ResourceClaim
...
spec:
deices:
  requests:- name: req0
    exactly:
      deviceClassName: resource.example.com
      capacity:
        requests: 10Gi

Conclusion

The introduction of consumable capacity support significantly enhances the device sharing capabilities of DRA in Kubernetes. It allows for efficient resource utilization, enables tailored configurations, and unlocks new use cases like bandwidth-aware networking, ultimately improving the flexibility and efficiency of your kubernetes deployments. With these advancements, resource allocation in kubernetes becomes more granular and adaptable.

We encourage you to experiment with consumable resources and contribute to shaping the future of dynamic resource allocation within the kubernetes ecosystem. The power of kubernetes continues to grow with features like this, making it an even more valuable tool for modern infrastructure management.

Further Reading

  • DRA in the Kubernetes documentation
  • CNI DRA Driver project
  • Feature gates documentation


Source: Read the original article here.

Discover more tech insights on ByteTrending.

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on Threads (Opens in new window) Threads
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on X (Opens in new window) X
  • Share on Bluesky (Opens in new window) Bluesky

Like this:

Like Loading...

Discover more from ByteTrending

Subscribe to get the latest posts sent to your email.

Tags: DevicesDRAKubernetesResourcesSharing

Related Posts

Kubernetes v1.35 supporting coverage of Kubernetes v1.35
Tech

How Kubernetes v1.35 Streamlines Container Management

by Maya Chen
March 26, 2026
Related image for nanostructure fabrication
Popular

3D Nanostructures: A New Era of Fabrication

by ByteTrending
March 11, 2026
Related image for toleration operators
Popular

Kubernetes v1.35: Extended Toleration Operators

by ByteTrending
January 18, 2026
Next Post
AI-generated image for provisioning

New Provisioning Flow for UNO R4 WiFi

Leave a ReplyCancel reply

Recommended

Related image for PuzzlePlex

PuzzlePlex: Evaluating AI Reasoning with Complex Games

October 11, 2025
Related image for Ray-Ban hack

Ray-Ban Hack: Disabling the Recording Light

October 24, 2025
Related image for Ray-Ban hack

Ray-Ban Hack: Disabling the Recording Light

October 28, 2025
Kubernetes v1.35 supporting coverage of Kubernetes v1.35

How Kubernetes v1.35 Streamlines Container Management

March 26, 2026
data-centric AI supporting coverage of data-centric AI

How Data-Centric AI is Reshaping Machine Learning

April 3, 2026
SpaceX rideshare supporting coverage of SpaceX rideshare

SpaceX rideshare Why SpaceX’s Rideshare Mission Matters for

April 2, 2026
robotics supporting coverage of robotics

How CES 2026 Showcased Robotics’ Shifting Priorities

April 2, 2026
Kubernetes v1.35 supporting coverage of Kubernetes v1.35

How Kubernetes v1.35 Streamlines Container Management

March 26, 2026
ByteTrending

ByteTrending is your hub for technology, gaming, science, and digital culture, bringing readers the latest news, insights, and stories that matter. Our goal is to deliver engaging, accessible, and trustworthy content that keeps you informed and inspired. From groundbreaking innovations to everyday trends, we connect curious minds with the ideas shaping the future, ensuring you stay ahead in a fast-moving digital world.
Read more »

Pages

  • Contact us
  • Privacy Policy
  • Terms of Service
  • About ByteTrending
  • Home
  • Authors
  • AI Models and Releases
  • Consumer Tech and Devices
  • Space and Science Breakthroughs
  • Cybersecurity and Developer Tools
  • Engineering and How Things Work

Categories

  • AI
  • Curiosity
  • Popular
  • Review
  • Science
  • Tech

Follow us

Advertise

Reach a tech-savvy audience passionate about technology, gaming, science, and digital culture.
Promote your brand with us and connect directly with readers looking for the latest trends and innovations.

Get in touch today to discuss advertising opportunities: Click Here

© 2025 ByteTrending. All rights reserved.

No Result
View All Result
  • Home
    • About ByteTrending
    • Contact us
    • Privacy Policy
    • Terms of Service
  • Tech
  • Science
  • Review
  • Popular
  • Curiosity

© 2025 ByteTrending. All rights reserved.

%d