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 272af0b3e8

View file

@ -925,7 +925,7 @@ let
fromInit = name: bin: extraEnv: from: extraMounts: {
inherit name securityContext;
image = ref init;
imagePullPolicy = "Never";
imagePullPolicy = "IfNotPresent";
command = [ "/bin/${bin}" ];
env = lib.mapAttrsToList (n: v: {
name = n;
@ -990,7 +990,7 @@ let
{
name = "nats";
image = ref server;
imagePullPolicy = "Never";
imagePullPolicy = "IfNotPresent";
args = lib.tail (lib.splitString " " natsSystem.systemd.services.nats.serviceConfig.ExecStart);
# The port the client Service targets.
ports = [
@ -1029,7 +1029,7 @@ let
{
name = "exporter";
image = ref exporter;
imagePullPolicy = "Never";
imagePullPolicy = "IfNotPresent";
args = [
"-addr"
"0.0.0.0"