kube-dra 0.0.1

A Rust library for building Kubernetes Dynamic Resource Allocation (DRA) drivers
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 15.49 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 981.13 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • nubicle/kube-dra
    0 0 11
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • gauravgahlot

kube-dra

Rust 1.88

A Rust library for building Kubernetes Dynamic Resource Allocation (DRA) drivers.

⚠️ This crate is under active development and not yet usable. Watch this repository for updates.

What is this?

DRA went GA in Kubernetes 1.34. The Kubernetes project provides k8s.io/dynamic-resource-allocation/kubeletplugin — a Go helper library that handles all the plumbing: socket registration, gRPC lifecycle, rolling updates, and connection monitoring.

No equivalent exists for Rust. kube-dra aims to fill that gap.

Status

  • Proto bindings (tonic-build)
  • DraDriver trait
  • KubeletPlugin builder (single socket)
  • ResourceSlicePublisher
  • Mock sensor example
  • End-to-end example working on a kind cluster
  • Rolling update support

License

Apache 2.0 licensed. See LICENSE for details.