From 857f07358eda068786878998cf0540b0580eff77 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Sun, 12 Jun 2022 21:07:46 +0200 Subject: [PATCH] Updated Kubernetes server installation (markdown) --- Kubernetes-server-installation.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Kubernetes-server-installation.md b/Kubernetes-server-installation.md index 70bacd9..7d62cc4 100644 --- a/Kubernetes-server-installation.md +++ b/Kubernetes-server-installation.md @@ -5,7 +5,9 @@ The recommended way is helm. # Root privileges -Trilium docker container needs to be run with root privileges, while Kubernetes by default runs containers under unprivileged users. You will have to [configure this in Deployment descriptor](https://dev.to/techworld_with_nana/run-pod-with-root-privileges-41n9). +Trilium docker container needs to be run with root privileges. The node process inside the container will be started with reduced privileges (uid 1000) after some initialization logic. Make sure that you don't use a security context which changes the user id. + +The docker image will also fix the permissions of /home/node so you don't have to use an init container. # Helm Install