Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your 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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
If you do not mind modifying the you storage path for the entirety 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.
Expand Down
1 change: 1 addition & 0 deletions newsfragment/1206.doc.md
Original file line number Diff line number Diff line change
@@ -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).