https://rancher.com/ logo
Title
w

witty-balloon-26464

08/31/2022, 3:30 PM
anyone from k3s team is reading issues that show up here? or is it better to simply submit bugreport on github?
c

creamy-pencil-82913

08/31/2022, 3:42 PM
There are a few of us here in #k3s but GH is preferred if something is broken
w

witty-balloon-26464

08/31/2022, 3:56 PM
well I'm not certainly sure if it's broken simply documentation doesn't really describe current reality I went over several bugreports which mention ability to change default containerd config and now I'm not even sure if this should be doable or not 😉
c

creamy-pencil-82913

08/31/2022, 4:45 PM
are you trying to provide a config template?
it works
w

witty-balloon-26464

08/31/2022, 5:04 PM
I already submitted issue: https://github.com/k3s-io/k3s/issues/6068 there is no configuration file in the directory mentioned in docs I could potentially create template to overwrite defaults but I wasn't able to find default config for containerd... in whole system and also in sources of k3s I just need to change snapshotter to native but honestly I have no idea how to do that
c

creamy-pencil-82913

08/31/2022, 5:20 PM
That file exists in that directory after starting k3s, but only if you’re using the containerd built in to k3s. If you’re using your own container runtime endpoint, or using docker, then none of this matters
also, as the docs say, you need to create a different file in that same directory if you want to customize the template. so it doesn’t really matter if that file exists yet or not
third, if you want to set the snapshotter to native, there’s a dedicated flag for that: --snapshotter
w

witty-balloon-26464

08/31/2022, 5:27 PM
thanks... a lot of useful info especially that part about snapshotter option wasn't aware of that speaking about previous things I intentionally removed anything docker/containerd related before I started k3s to make it the only service to manage it and still there is no config file but once again thanks will try to dig into that tomorrow