k8s: stt and ci-metrics start without a state gate
This commit is contained in:
parent
481cd79607
commit
2232acd056
1 changed files with 296 additions and 309 deletions
|
|
@ -211,17 +211,14 @@ in
|
|||
service and timer return, so one poller runs at any time. Its cursor is
|
||||
in the service's state directory on the host, and in a volume of the
|
||||
cluster in a pod; neither moves with the poller, so the first pass after
|
||||
a switch pushes every run again, as the same points. The pod does not
|
||||
start on its empty volume until `swarmctl migrate` marks it or
|
||||
{option}`services.hyperhive.deploy.ci-metrics.k8s.freshState` is set.
|
||||
a switch pushes every run again, as the same points. The pod starts on
|
||||
its empty volume with no gate.
|
||||
|
||||
The poller keeps pushing to the swarm collector's route of its own,
|
||||
not to the hive collector the cluster's other pods push to.
|
||||
'';
|
||||
};
|
||||
|
||||
k8s.freshState = import ./lib/fresh-state-option.nix { inherit lib; } "ci-metrics";
|
||||
|
||||
unit = lib.mkOption {
|
||||
type = lib.types.raw;
|
||||
readOnly = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue