Skip to content

v0.4.0: Kubernetes watcher, redaction, and one ledger for many contracts

Choose a tag to compare

@mohityadav8 mohityadav8 released this 01 Nov 10:00
· 56 commits to main since this release

GPU Sentinel now watches Kubernetes directly, keeps process details out of the evidence log by default, and can host several contracts on one ledger. The SLA engine is unchanged — every existing statement keeps its hash.

Highlights

Kubernetes and NVSentinel. capledger watch kubernetes turns node health into signed down/up/degraded events: a Ready condition that isn't True, health conditions from NVIDIA NVSentinel or node-problem-detector (--down-condition '*'), taints, cordons, and fewer allocatable GPUs than expected. Events are dated by the condition's own transition time, and the watcher resumes cleanly after a restart. deploy/kubernetes/node-watcher.yaml runs it with read-only access; see docs/kubernetes.md.

Redaction. capledger agent --redact strips process names and ids — which can identify a customer's jobs — out of recorded kernel lines, without changing which events or money results come out.

One ledger, several contracts. ledger serve --config-dir DIR hosts multiple contracts at once, each with its own keyring, tokens, data directory and URL (/c/CONTRACT). Nothing leaks between them.

Windows. scripts/demo.ps1 runs the full end-to-end demo in PowerShell, and CI now runs the Go tests and that demo on a Windows runner.

Compatibility

  • Existing logs, statements, contracts and ledgers need no changes.
  • A single --config ledger behaves exactly as before.
  • To admit the Kubernetes watcher's events under a contract with sources, list the role provider-integration (or source kubernetes-node-watcher) for the provider.

Full list: CHANGELOG.md · Quick start: README · Kubernetes guide: docs/kubernetes.md