Skip to content

Commit

Permalink
Add runtimes in reference
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Savian <[email protected]>
  • Loading branch information
vitorsavian committed Oct 21, 2024
1 parent 96c1fcb commit 88d74e0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/reference/env-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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
```
:::

0 comments on commit 88d74e0

Please sign in to comment.