docs: clarify what the deal is with /var

Explain when EPHEMERAL gets wiped.

Signed-off-by: Michael Vorburger ⛑️ <mike@vorburger.ch>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
Michael Vorburger
2022-11-26 05:31:32 +01:00
committed by Andrey Smirnov
parent a8ebcca4a9
commit 4c31b9b1a3

View File

@ -50,3 +50,7 @@ Directories like this are `overlayfs` backed by an XFS file system mounted at `/
The `/var` directory is owned by Kubernetes with the exception of the above `overlayfs` file systems.
This directory is writable and used by `etcd` (in the case of control plane nodes), the kubelet, and the CRI (containerd).
Its content survives machine reboots, but it is wiped and lost on machine upgrades and resets, unless the
`--preserve` option of [`talosctl upgrade`]({{< relref "../reference/cli#talosctl-upgrade" >}}) or the
`--system-labels-to-wipe` option of [`talosctl reset`]({{< relref "../reference/cli#talosctl-reset" >}})
is used.