mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-01 20:56:02 +09:00
The blockstor-satellite DaemonSet took the Kubernetes default update strategy. The satellite reports Ready once its caches have synced, seconds after start, while re-rendering and adjusting every DRBD resource on the node takes minutes: on a test cluster a satellite finished about 110 resources 1.5 to 2.7 minutes after it turned Ready. An image bump therefore rolled every node seconds apart. Hold each node for minReadySeconds, 180 by default, after Ready, one node at a time, and let an operator choose OnDelete to check every node by hand. maxUnavailable takes only 1 or 0 and a surge is refused, because two satellites on one node would both drive its DRBD resources and a wider rollout runs several first passes at once. Readiness never drops after the cache sync, so the pause stops only a satellite that exits or restarts; OnDelete with the per-node checks is the gate for a change in how resources render. The README describes the node-by-node upgrade, what waits for the rollout (the linstor HelmRelease past the upgrade timeout and HelmReleaseNotReady, and the dependent scheduler and gui releases), and that rolling back means reverting the change that brought the version. Assisted-by: LLM Signed-off-by: Andrei Kvapil <kvapss@gmail.com>