Watch
0
0
Fork
You've already forked hyperhive
0

let a second machine join the main node's k3s and run pods from images only the main node holds

This commit is contained in:
atlas 2026-11-25 22:36:35 +01:00 • committed by maia
commit 7819ed2dbd

View file

@ -29,6 +29,7 @@
{ pkgs, self }:
let
inherit (pkgs) lib;
inherit (import ../images { inherit pkgs lib; }) registryHost;
# What the node's configuration and the script agree on. The collector's name
# is a literal of `services.hyperhive.otel.collector.host`.
@ -173,7 +174,7 @@ pkgs.testers.runNixOSTest {
with subtest("the node is Ready and holds every image the module loads"):
wait_node_ready(machine, timeout=300)
refs = image_refs(machine)
assert refs == ["hyperhive/swarm-ci-metrics:" + refs[0].split(":", 1)[1]], refs
assert refs == ["${registryHost}/swarm-ci-metrics:" + refs[0].split(":", 1)[1]], refs
wait_images(machine)
with subtest("the cluster encrypts its secrets and runs CoreDNS but neither traefik nor metrics-server"):