-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
What would you like to be added:
I would like to have a way to extend containerd configuration without having to manually create a new file and mount it onto the host, please.
Why is this needed:
This is needed in my case to setup containerd to use my local registry instead of the regular docker.io that is rate limited.
Extra context:
This containerd configuration changes used to be located in the file /etc/containerd/config.toml
and that file can be extended using the kind cluster configuration entry containerdConfigPatches before containerd v2.2
now with containerd v2.2 we must manually place a file in the node under /etc/containerd/certs.d/<old registry> with the registry override configuration for containerd to take it into account.
This requires the user to create 2 files
- the kind cluster configuration file
- the containerd extended configuration
Now that this new configuration format is made by placing a new file, we could add a new entry in the kind configuration and take the entire string from that entry and put it in the file at the right place.
as opposed as before where some merging was necessary.
I'm willing to help and work on this feature if it gets accepted.