Watch
0
0
Fork
You've already forked hyperhive
0

k8s: stt and ci-metrics start without a state gate

This commit is contained in:
atlas 2026-11-23 02:46:31 +01:00 • committed by maia
commit 658c7fe384

View file

@ -31,9 +31,8 @@ let
controllerStateDir = "/var/lib/swarm-controller";
# `option` is the service's name under `services.hyperhive.deploy`. `state`
# is null for a service with no state volume. `hostPath` is null where the
# copy has no source: the speech-to-text cache is not moved, and the pod
# starts with an empty one.
# is null for a service whose pod keeps nothing worth moving: no volume, an
# `emptyDir`, or a volume that starts empty with no gate.
#
# The claim is `<service>-state`, as ./render.nix and ../swarm-nats.nix name
# it.
@ -65,11 +64,7 @@ let
};
swarm-stt = {
option = "stt";
state = {
mount = stateMount deployCfg.stt.unit;
hostPath = null;
excludes = [ ];
};
state = null;
};
swarm-review-classifier = {
option = "review-classifier";
@ -81,13 +76,7 @@ let
};
swarm-ci-metrics = {
option = "ci-metrics";
state = {
mount = stateMount deployCfg.ci-metrics.unit;
# A DynamicUser unit's state directory is under `private`, behind a
# symlink at the path the unit names.
hostPath = "/var/lib/private/swarm-ci-metrics";
excludes = [ ];
};
state = null;
};
};