-
According to https://docs.k3s.io/advanced?_highlight=config.toml#configuring-containerd, we don't have a way to set the path of 'config.toml' in k3s, via arg or environment variable, etc. However, I'm confused if we really don't. To provide context, I'm trying to install nix-snapshotter, but I have some problems (you don't need to read the entire post) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No. You cannot change JUST the path of the containerd config.toml, nor the path of the user-provided template (config.toml.tmpl). You can set the data-dir, which will move /var/lib/rancher/k3s somewhere else (and the containerd config file along with it) but you cannot set the path of just that file. |
Beta Was this translation helpful? Give feedback.
No. You cannot change JUST the path of the containerd config.toml, nor the path of the user-provided template (config.toml.tmpl). You can set the data-dir, which will move /var/lib/rancher/k3s somewhere else (and the containerd config file along with it) but you cannot set the path of just that file.