explicitly allow missing hugepages controller

This commit is contained in:
Benjamin Elder
2020-06-24 20:12:56 -07:00
parent 6843c26314
commit 86a99e8996

View File

@@ -41,11 +41,14 @@ version = 2
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.test-handler]
runtime_type = "io.containerd.runc.v2"
# ensure the sandbox image matches kubeadm
# TODO: probably we should instead just use the containerd default
# Implementing the pod sandbox is a CRI implementation detail ..
[plugins."io.containerd.grpc.v1.cri"]
# ensure the sandbox image matches kubeadm
# TODO: probably we should instead just use the containerd default
# Implementing the pod sandbox is a CRI implementation detail ...
sandbox_image = "{{.SandboxImage}}"
# allow hugepages controller to be missing
# see https://github.com/containerd/cri/pull/1501
tolerate_missing_hugepages_controller = true
`
func getContainerdConfig(data containerdConfigTemplateData) (string, error) {