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

@ -94,7 +94,8 @@ credential directory.
too. Where the environment names none, the image is the flake's
`image-<service>`. The manifest carries the image name and tag but doesn't
depend on the image: building the manifests builds no daemon.
`imagePullPolicy` is `Never`, because the node imports the image tarball.
`imagePullPolicy` is `IfNotPresent`: the node imports the image tarball, and a
node that joined pulls it from a peer ([Service images](images.md#where-a-node-gets-an-image)).
- **Security:** the `serviceUser` uid and gid from [Service images](images.md),
with `fsGroup` its gid so the pod reads its credentials (mode `0440`),
read-only root filesystem with an `emptyDir` on `/tmp`, no privilege