From 5fd08c04fb536042243e840ce40353b396590161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Fri, 11 Mar 2022 08:13:43 +0100 Subject: [PATCH] Sync the containerd files for Kubernetes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream includes configuration for CRI and CNI, so make sure that is added to the nerdctl install. Currently using "flannel" for multi-node and VXLAN, but template can be edited to use "containerd-net". The image endpoint defaults to the runtime endpoint, so use the same configuration file as upstream has. Currently we use kubernetes-cni which is a slightly older version so don't bump the cni version (yet). Signed-off-by: Anders F Björklund --- examples/k8s.yaml | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/examples/k8s.yaml b/examples/k8s.yaml index f212874d617..b6a47af11a6 100644 --- a/examples/k8s.yaml +++ b/examples/k8s.yaml @@ -54,10 +54,46 @@ provision: apt-get install -y cri-tools cat <