Skip to content

Commit

Permalink
Add runtimes in reference
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorsavian committed Oct 18, 2024
1 parent d4d8938 commit 673ab93
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/reference/env-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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
```

0 comments on commit 673ab93

Please sign in to comment.