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
aab13d065f
commit
7819ed2dbd
1 changed files with 1106 additions and 96 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue