|
|
|
@ -25,17 +25,17 @@ const ContainerdConfigTemplate = `
|
|
|
|
|
disable_cgroup = true
|
|
|
|
|
disable_apparmor = true
|
|
|
|
|
restrict_oom_score_adj = true
|
|
|
|
|
{{ end -}}
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
|
|
{{- if .NodeConfig.AgentConfig.PauseImage }}
|
|
|
|
|
sandbox_image = "{{ .NodeConfig.AgentConfig.PauseImage }}"
|
|
|
|
|
{{ end -}}
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
|
|
{{- if not .NodeConfig.NoFlannel }}
|
|
|
|
|
[plugins.cri.cni]
|
|
|
|
|
bin_dir = "{{ .NodeConfig.AgentConfig.CNIBinDir }}"
|
|
|
|
|
conf_dir = "{{ .NodeConfig.AgentConfig.CNIConfDir }}"
|
|
|
|
|
{{ end -}}
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
|
|
[plugins.cri.containerd.runtimes.runc]
|
|
|
|
|
runtime_type = "io.containerd.runc.v2"
|
|
|
|
|