This message was deleted.
# rke2
a
This message was deleted.
c
when you start rke2, we read the registries.yaml, merge it with some other node-specific configuration (cgroups, paths, and so on) and then render config.toml before starting containerd.
containerd does not remain running when RKE2 is stopped so there is no “picking it up”, the config is written before containerd is started
c
Thanks, it works! It didn't help to have a tmpl file there at the same time as a had a populated registries.yaml. My bad..
c
was the .tmpl file not actually a template?
c
The last bit of this puzzle is to figure out how to add extra config, i need the metrics endpoint also. Maybe it's the tmpl way to go in the end?
c
if its just a config file and doesn’t actually have any templates in it then yeah, that would prevent it from working
c
The tmpl file was just the config.toml with extra hardcoded stuff in it (registry)
Oh, that base-template link! Great stuff 🙏 so i can have both registries.yaml + metrics conf added
Works like a charm! 👏🏻