diff --git a/docs/advanced.md b/docs/advanced.md index 2ffdb5ffe..c429b81e2 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -46,6 +46,15 @@ To configure your own PostgreSQL Database in your installation, copy the file `c K3s by default deploys the storage in `/var/lib/rancher/k3s/storage/`. If you want to change the path, you will have to run the K3s setup with the parameter `--default-local-storage-path `. + +If you do not mind modifying the you storage path for the entirey of K3s you can also adjust the `K3S_DATA_DIR` environment variable before installing K3s using +``` +export K3S_DATA_DIR=/your/path +``` + +If the goal is to have a drive dedicated to K3s one may also mount an external drive to `/var` during installation of the OS. + + ## Configuring Traefik ingress timeouts when using K3s If you are experiencing timeouts when uploading large files to ESS, you will want to customize Traefik timeouts creating the file `traefik-config.yaml` in `/var/lib/rancher/k3s/server/manifests`. If the file already exists because you have configured custom ports for Traefik, add the example below to the existing file. diff --git a/newsfragment/1206.doc.md b/newsfragment/1206.doc.md new file mode 100644 index 000000000..7d8e9cf8c --- /dev/null +++ b/newsfragment/1206.doc.md @@ -0,0 +1 @@ +Added some text to the advanced instructions on how to configure the storage settings for K3s (see https://github.com/element-hq/ess-helm/pull/1206 for details).