File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,35 +233,16 @@ to load.
233233#### Configuration
234234
235235Plugins are configured using the ` [plugins] ` section of containerd's config.
236- Every plugin can have its own section using the pattern ` [plugins.<plugin id>] ` .
236+ Every plugin can have its own section using the pattern ` [plugins." <plugin type>.<plugin id>" ] ` .
237237
238238example configuration
239239```
240+ version = 2
241+
240242[plugins]
241- [plugins.cgroups]
243+ [plugins."io.containerd.monitor.v1. cgroups" ]
242244 no_prometheus = false
243- [plugins.cri]
244- stream_server_address = ""
245- stream_server_port = "10010"
246- enable_selinux = false
247- sandbox_image = "k8s.gcr.io/pause:3.6"
248- stats_collect_period = 10
249- systemd_cgroup = false
250- [plugins.cri.containerd]
251- snapshotter = "overlayfs"
252- [plugins.cri.containerd.default_runtime]
253- runtime_type = "io.containerd.runtime.v1.linux"
254- runtime_engine = ""
255- runtime_root = ""
256- [plugins.cri.containerd.untrusted_workload_runtime]
257- runtime_type = ""
258- runtime_engine = ""
259- runtime_root = ""
260- [plugins.cri.cni]
261- bin_dir = "/opt/cni/bin"
262- conf_dir = "/etc/cni/net.d"
263- [plugins.cri.registry]
264- [plugins.cri.registry.mirrors]
265- [plugins.cri.registry.mirrors."docker.io"]
266- endpoint = ["https://registry-1.docker.io"]
267245```
246+
247+ To see full configuration example run ` containerd config default ` .
248+ If you want to get the configuration combined with your configuration, run ` containerd config dump ` .
You can’t perform that action at this time.
0 commit comments