https://rancher.com/ logo
Title
m

melodic-hamburger-23329

08/08/2022, 7:30 AM
How can I provide customized configuration for containerd in Rancher Desktop?
👀 1
f

freezing-airplane-30363

08/08/2022, 10:12 AM
m

melodic-hamburger-23329

08/08/2022, 10:13 AM
Yes I did, but
/etc/containerd/config.toml
is overwritten by a script executed after provisioning scripts
f

freezing-airplane-30363

08/08/2022, 10:14 AM
What OS and RD version are you using?
m

melodic-hamburger-23329

08/08/2022, 10:14 AM
in usual k3s setup, I could use config.toml.tmpl, but it doesn’t seem to apply in Rancher Desktop setup
macOS 12.5 and RD 1.5.0
f

freezing-airplane-30363

08/08/2022, 10:16 AM
thanks, and what configuration setup are you trying to use?
what you'd like to configure in the config?
m

melodic-hamburger-23329

08/08/2022, 10:18 AM
I want to monitor the configuration of my remote k3s cluster (or more precisely; its containerd), which is using stargz snapshotter and private registry mirrors
I’d also like to switch the VM image to Ubuntu, e.g. this https://github.com/lima-vm/lima/blob/master/examples/k3s.yaml
In general, it would be nice if Rancher Desktop was more configurable
f

freezing-airplane-30363

08/08/2022, 11:17 AM
sorry, no idea if the lima image could be switched from alpine to ubuntu in RD. The link you sent is about limavm itself
k

kind-iron-72902

08/08/2022, 4:39 PM
Hi, Petri, could you write this up at https://github.com/rancher-sandbox/rancher-desktop/issues ?
m

melodic-hamburger-23329

08/09/2022, 1:12 AM
@kind-iron-72902 I think there are at least 2 issues: • Include stargz snapshotter (and enable by default?) • Allow more customizability ◦ Possibility to override containerd, etc. config (kubernetes/non-kubernetes mode) ▪︎ Current init script overrides make it non-obvious how to override certain configuration files ◦ Make is easier to switch between lima-vm images ▪︎ Need better overall documentation regarding what functionality, scripts, etc. are required from the VM
k

kind-iron-72902

08/09/2022, 1:43 AM
thanks