/var/mnt/<volume-name>
, and this location gets automatically propagated into the kubelet
container to provide additional features like subPath
mounts.
Note: If you need to allocate a volume to be mounted to a container, please see User Volumes guide.
Declaring Existing Volumes
To declare an existing volume, append the following document to the machine configuration:MY-DATA
will be mounted as under /var/mnt/my-data-volume
.
The status of the volume can be checked using the following command:
ExistingVolumeConfig
document from the machine configuration.
Talos will automatically unmount the volume, but it will not try to wipe the underlying data.