From eac799f589e80cd275391e960715309f5d39ab6f Mon Sep 17 00:00:00 2001 From: Julio H Morimoto Date: Wed, 2 Feb 2022 05:46:22 -0300 Subject: [PATCH] Amend documentation for docker to containerd migration (#8477) * Amend PR https://github.com/kubernetes-sigs/kubespray/pull/8471 with missing inventory configuration. Signed-off-by: Julio Morimoto * Amend PR https://github.com/kubernetes-sigs/kubespray/pull/8471 with missing inventory configuration. Signed-off-by: Julio Morimoto --- docs/upgrades/migrate_docker2containerd.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/upgrades/migrate_docker2containerd.md b/docs/upgrades/migrate_docker2containerd.md index 08b584a82..df2e06c8a 100644 --- a/docs/upgrades/migrate_docker2containerd.md +++ b/docs/upgrades/migrate_docker2containerd.md @@ -25,11 +25,15 @@ Everything done here requires full root access to every node. ## Migration steps -Before you begin, adjust `k8s-cluster.yml` in your inventory. +Before you begin, adjust your inventory: ```yaml +# Filename: k8s_cluster/k8s-cluster.yml resolvconf_mode: host_resolvconf container_manager: containerd + +# Filename: etcd.yml +etcd_deployment_type: host ``` ### 1) Pick one or more nodes for processing @@ -53,6 +57,12 @@ service docker stop apt-get remove -y --allow-change-held-packages containerd.io docker-ce docker-ce-cli docker-ce-rootless-extras ``` +In some cases, there might a `pigz` missing dependency. Some image layers need this to be extracted. + +```shell +apt-get install pigz +``` + ### 5) Run `cluster.yml` playbook with `--limit` ```commandline