Watch
0
0
Fork
You've already forked hyperhive
0

a pod with a state volume starts only on a migrated or fresh volume

This commit is contained in:
atlas 2026-11-22 18:59:22 +01:00 • committed by maia
commit eeb69f07a1

View file

@ -637,10 +637,15 @@ in
cannot reach a unix socket inside a pod, so the gateway dials the
listener on {option}`tcp.hostAddress`. The pod's state is its own
volume, which starts empty: nothing moves the host's state directory
into it.
into it, and the pod does not start on it until `swarmctl migrate`
marks it or
{option}`services.hyperhive.deploy.swarm-controller.k8s.freshState`
is set.
'';
};
k8s.freshState = import ./lib/fresh-state-option.nix { inherit lib; } "swarm-controller";
unit = lib.mkOption {
type = lib.types.raw;
readOnly = true;