Use version 2 configuration format in docs/PLUGINS.md#6613
Use version 2 configuration format in docs/PLUGINS.md#6613estesp merged 1 commit intocontainerd:mainfrom
Conversation
|
Hi @sachaos. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
dad2b70 to
c58c7ce
Compare
|
Build succeeded.
|
docs/PLUGINS.md
Outdated
| [plugins.cri.registry] | ||
| [plugins.cri.registry.mirrors] | ||
| [plugins.cri.registry.mirrors."docker.io"] | ||
| [plugins."io.containerd.grpc.v1.cri".registry] |
There was a problem hiding this comment.
this is definitely worth updating, but I wonder if we should just remove the registry section as this is using the now-deprecated pattern for registry configuration? Or simply remove the mirrors/endpoint content and replace it with the config_path setting which is the new configuration method for registry hosts/mirrors.
There was a problem hiding this comment.
the example here is an old one.. and partial.. and there is no explanation about the contents...
Suggest removing the cri parts... and leave cgroups as the example
Maybe mention how to run containerd config default / dump to see the current default / combined config
There was a problem hiding this comment.
Suggest removing the cri parts... and leave cgroups as the example
Maybe mention how to run containerd config default / dump to see the current default / combined config
I think your suggestion is good.
I'll remove cri part and use this snippet as a short example.
And mention about how to run containerd config default / dump to see the current default / combined config to tell how to get a full example.
Signed-off-by: Takumasa Sakao <[email protected]>
c58c7ce to
03a5e64
Compare
I think we are recommending the version 2 configuration file format.
docs/PLUGINS.md is formatted as version 1, which can be confusing.
So I fixed the documentation.
Signed-off-by: Takumasa Sakao [email protected]