Skip to content

v0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 03:24
72fcebe

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.