Watch
0
0
Fork
You've already forked hyperhive
0

keep the pods' runtime volume in memory

A service's RuntimeDirectory is a /run, which never reaches a disk; the
pod's volume for it was an emptyDir on the node's disk.
This commit is contained in:
atlas 2026-11-27 22:50:55 +01:00
commit b1b95b5407

View file

@ -812,7 +812,9 @@ let
}
++ lib.optional (runtimeDir != null) {
name = "runtime";
emptyDir = { };
# In memory, as the `/run` it stands for is: what a service keeps there
# never reaches the node's disk.
emptyDir.medium = "Memory";
}
++ lib.optional (stateDir != null) (
{