run the log store and its auth responders as pods
swarm-logs-auth and swarm-metrics-auth take --listen for a TCP address beside --socket. The log store is a Deployment on a static local volume that is its old container's data directory, behind a ClusterIP Service the gateway dials by name. Its two auth_request responders are one unpinned pod with a jwt role. The renderer gains a plain HTTP listener, a probe path, fsGroupChangePolicy, and one policy for a pod with both a listener and egress.
This commit is contained in:
parent
9acbbea7c2
commit
c9da6e7506
1 changed files with 1385 additions and 746 deletions
|
|
@ -129,13 +129,14 @@ let
|
|||
"claude-login"
|
||||
"nats"
|
||||
"swarm-controller"
|
||||
"victorialogs"
|
||||
];
|
||||
enabledServices = lib.filter (name: deployCfg.${name}.enable) swarmServices;
|
||||
|
||||
# The services whose data the module keeps in the cluster. Each puts its state
|
||||
# label on this node.
|
||||
stateful = lib.filterAttrs (_: svc: svc.enable) {
|
||||
inherit (deployCfg) nats ci-metrics;
|
||||
inherit (deployCfg) nats ci-metrics victorialogs;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
@ -264,7 +265,7 @@ in
|
|||
none of those pods.
|
||||
|
||||
- `hyperhive.darkest.space/state-<service>` for each service whose data the
|
||||
cluster keeps: `nats` and `ci-metrics`, each when enabled. A volume's `nodeAffinity` and the pod's `nodeSelector` name it.
|
||||
cluster keeps: `nats`, `ci-metrics` and `victorialogs`, each when enabled. A volume's `nodeAffinity` and the pod's `nodeSelector` name it.
|
||||
- `hyperhive.darkest.space/entry`: the node the hosts' DNS points at.
|
||||
- `svccontroller.k3s.cattle.io/enablelb`: with it on any node, the
|
||||
service load balancer binds a published port on the labelled nodes
|
||||
|
|
|
|||
Loading…
Reference in a new issue