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:
parent
0998c82555
commit
b1b95b5407
1 changed files with 10 additions and 7 deletions
|
|
@ -57,9 +57,10 @@ The renderer reads the service's evaluated unit, not a copy of its settings:
|
|||
`hyperhive-ca-trust` [below](#secrets);
|
||||
- trust bundles (any `…/trust-bundle.pem` the environment names), from the
|
||||
ConfigMap `hyperhive-ca-trust`, key `trust-bundle.pem`;
|
||||
- `RuntimeDirectory` as an `emptyDir`, and `StateDirectory` on the
|
||||
service's PersistentVolumeClaim, with `RUNTIME_DIRECTORY` and
|
||||
`STATE_DIRECTORY` set the way systemd sets them;
|
||||
- `RuntimeDirectory` as an `emptyDir` in memory, as the `/run` it stands for
|
||||
is, so nothing a service keeps there reaches the node's disk, and
|
||||
`StateDirectory` on the service's PersistentVolumeClaim, with
|
||||
`RUNTIME_DIRECTORY` and `STATE_DIRECTORY` set the way systemd sets them;
|
||||
- `/etc` files the unit reads, from the service's own ConfigMap.
|
||||
|
||||
The renderer fails evaluation if an environment value names an absolute
|
||||
|
|
|
|||
Loading…
Reference in a new issue