You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
api/checkpoint/v1: DRA kubelet plugin checkpoint API (kind Checkpoint,
version v1, 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: Store with atomic writes, a driverName ownership 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.