From 88d74e018b99515cff4da9f100c45009b1c1e6ed 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 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/reference/env-variables.md b/docs/reference/env-variables.md index 268b67e06..4ed29b941 100644 --- a/docs/reference/env-variables.md +++ b/docs/reference/env-variables.md @@ -40,4 +40,16 @@ 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. + +:::info Version Gate +Available as of October 2024 releases: v1.28.15+k3s1, v1.29.10+k3s1, v1.30.6+k3s1, v1.31.2+k3s1. + +K3s will now use `PATH` to find runtimes, but it's necessary to add the PATH within the `k3s.service.env`. + +This example shows a simple PATH that is in the environment file: + +```bash +PATH=/home/example:/usr/bin:/usr/local/bin:/usr/sbin +``` +:::