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:
parent
ae6128848a
commit
23865cb223
1 changed files with 1106 additions and 96 deletions
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue