Repository navigation
Releases
Releases · Project-HAMi/dra-lib
v0.1.0
Added
api/checkpoint/v1: DRA kubelet plugin checkpoint API (kindCheckpoint,
versionv1, API group chosen by the caller), the only version: the store
reads and writes it directly, without an internal version, with a common
core (claims, prepared devices, CDI container edits, soft/hard partitions,
node partition modes) and optional AMD and NVIDIA sections.checkpoint:Storewith atomic writes, adriverNameownership check, and
migration from the legacy kubelet checkpointmanager format (deprecated, will
be removed in a future version).Store.Update: apply all claim changes of one kubelet call and write once
(one encode, one fsync) instead of once per claim.- Compact JSON on disk, and an fsync of the parent directory after the rename so
the rename survives a power loss. - Benchmarks for the legacy and v1 formats. Against the kubelet
checkpointmanager, a Prepare call adding 10 claims is 40x to 55x faster from
100 claims on the node upward; see
#1.