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 <julio@morimoto.net.br>

* Amend PR https://github.com/kubernetes-sigs/kubespray/pull/8471 with missing inventory configuration.

Signed-off-by: Julio Morimoto <julio@morimoto.net.br>
This commit is contained in:
Julio H Morimoto 2022-02-02 05:46:22 -03:00 committed by GitHub
parent 5ecb07b59a
commit eac799f589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -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