From 996af578db0c2a5a14360b2715889dd18c4469c0 Mon Sep 17 00:00:00 2001 From: Vitor Savian Date: Fri, 18 Oct 2024 12:11:26 -0300 Subject: [PATCH] Add runtimes in reference Signed-off-by: Vitor Savian --- docs/reference/env-variables.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/reference/env-variables.md b/docs/reference/env-variables.md index 268b67e06..f98f475fa 100644 --- a/docs/reference/env-variables.md +++ b/docs/reference/env-variables.md @@ -40,4 +40,14 @@ Environment variables which begin with `K3S_` will be preserved for the systemd Setting `K3S_URL` without explicitly setting an exec command will default the command to "agent". -When running the agent, `K3S_TOKEN` must also be set. \ No newline at end of file +When running the agent, `K3S_TOKEN` must also be set. + +#### Runtimes + +After the October 2024 versions, K3s will now use the PATH to find runtimes. However, if k3s is running in systemd it's necessary to add the PATH within the `k3s.service.env`. + +An example of what need to be added is: + +```bash +PATH=/home/example:/usr/bin:/usr/sbin +``` \ No newline at end of file