app-emulation/containerd: Enable the CRI plugin

Kubernetes uses containerd through the cri plugin which currently is
disabled due to it listening on a TCP port. Now the plugin is not
listening on a TCP port anymore but uses the same socket as gRPC.
We have documented how to enable it in
https://kinvolk.io/docs/flatcar-container-linux/latest/container-runtimes/switching-from-docker-to-containerd-for-kubernetes/
but it should work by default.

Fixes https://github.com/kinvolk/Flatcar/issues/283
This commit is contained in:
Kai Lüke 2020-12-11 12:40:24 +01:00
parent 33bd8598d5
commit ca5095f497

View File

@ -6,8 +6,7 @@ state = "/run/docker/libcontainerd/containerd"
subreaper = true subreaper = true
# set containerd's OOM score # set containerd's OOM score
oom_score = -999 oom_score = -999
# CRI plugin listens on a TCP port by default disabled_plugins = []
disabled_plugins = ["cri"]
# grpc configuration # grpc configuration
[grpc] [grpc]