Skip to content
Snippets Groups Projects
Unverified Commit eac799f5 authored by Julio H Morimoto's avatar Julio H Morimoto Committed by GitHub
Browse files

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: default avatarJulio Morimoto <julio@morimoto.net.br>

* Amend PR https://github.com/kubernetes-sigs/kubespray/pull/8471

 with missing inventory configuration.

Signed-off-by: default avatarJulio Morimoto <julio@morimoto.net.br>
parent 5ecb07b5
Branches
Tags
No related merge requests found
...@@ -25,11 +25,15 @@ Everything done here requires full root access to every node. ...@@ -25,11 +25,15 @@ Everything done here requires full root access to every node.
## Migration steps ## Migration steps
Before you begin, adjust `k8s-cluster.yml` in your inventory. Before you begin, adjust your inventory:
```yaml ```yaml
# Filename: k8s_cluster/k8s-cluster.yml
resolvconf_mode: host_resolvconf resolvconf_mode: host_resolvconf
container_manager: containerd container_manager: containerd
# Filename: etcd.yml
etcd_deployment_type: host
``` ```
### 1) Pick one or more nodes for processing ### 1) Pick one or more nodes for processing
...@@ -53,6 +57,12 @@ service docker stop ...@@ -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 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` ### 5) Run `cluster.yml` playbook with `--limit`
```commandline ```commandline
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment