Choosing between etcd CAS and startup‑script idempotency for retry‑safe writes in k3os
In k3os the immutable OS forces most state changes through the Kubernetes API, so preventing duplicate writes on retry is a design decision rather than an operational afterthought. Etcd’s compare‑and‑swap (CAS) using resource versions gives a built‑in idempotent write path: a repeated payload should return a conflict instead of creating a second record. Star