From d99b8cd530fcd56a309dad9d113849b7184fecb5 Mon Sep 17 00:00:00 2001 From: Zaustie <45076511+Zaustie@users.noreply.github.com> Date: Tue, 31 Mar 2026 12:30:21 +0200 Subject: [PATCH 1/3] Adjust instructions for K3s Storage Configuration --- README.md | 6 ++++++ docs/advanced.md | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8a042ce6c..6a0f40da7 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,12 @@ This guide suggests using K3s as the Kubernetes node hosting ESS Community. Othe The following will install K3s on the node, and configure its Traefik proxy automatically. If you want to configure K3s behind an existing reverse proxy on the same node, please see the [dedicated section](#using-an-existing-reverse-proxy). If you have a firewall running on your server, please follow the [K3s official recommendations](https://docs.k3s.io/installation/requirements?os=debian#operating-systems). + +If you want to specify the K3s Data Storage Path directory you can do so now by adjusting the `K3S_DATA_DIR` environment variable +``` +export K3S_DATA_DIR=/your/path +``` + 1. Run the following command to install K3s: ``` diff --git a/docs/advanced.md b/docs/advanced.md index 2ffdb5ffe..7ee878393 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -42,9 +42,6 @@ You need to create 2 databases: To configure your own PostgreSQL Database in your installation, copy the file `charts/matrix-stack/ci/fragments/quick-setup-postgresql.yaml` to `postgresql.yaml` in your ESS configuration values directory and configure it accordingly. -## Configuring the storage path when using K3s - -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 `. ## Configuring Traefik ingress timeouts when using K3s From d9563affda2631e1456df8d0882cf01bd179aeb5 Mon Sep 17 00:00:00 2001 From: Zaustie <45076511+Zaustie@users.noreply.github.com> Date: Thu, 2 Apr 2026 15:28:21 +0200 Subject: [PATCH 2/3] Adjust instructions for K3s Storage Configuration --- README.md | 6 ------ docs/advanced.md | 12 ++++++++++++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6a0f40da7..8a042ce6c 100644 --- a/README.md +++ b/README.md @@ -193,12 +193,6 @@ This guide suggests using K3s as the Kubernetes node hosting ESS Community. Othe The following will install K3s on the node, and configure its Traefik proxy automatically. If you want to configure K3s behind an existing reverse proxy on the same node, please see the [dedicated section](#using-an-existing-reverse-proxy). If you have a firewall running on your server, please follow the [K3s official recommendations](https://docs.k3s.io/installation/requirements?os=debian#operating-systems). - -If you want to specify the K3s Data Storage Path directory you can do so now by adjusting the `K3S_DATA_DIR` environment variable -``` -export K3S_DATA_DIR=/your/path -``` - 1. Run the following command to install K3s: ``` diff --git a/docs/advanced.md b/docs/advanced.md index 7ee878393..c429b81e2 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -42,6 +42,18 @@ You need to create 2 databases: To configure your own PostgreSQL Database in your installation, copy the file `charts/matrix-stack/ci/fragments/quick-setup-postgresql.yaml` to `postgresql.yaml` in your ESS configuration values directory and configure it accordingly. +## Configuring the storage path when using K3s + +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 From 9e29e62284395df494b87949f28750f6281152eb Mon Sep 17 00:00:00 2001 From: Zaustie <45076511+Zaustie@users.noreply.github.com> Date: Fri, 3 Apr 2026 00:51:15 +0200 Subject: [PATCH 3/3] Create 1206.doc.md --- newsfragment/1206.doc.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 newsfragment/1206.doc.md 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).