Skip to content

Commit

Permalink
Amend documentation for docker to containerd migration (kubernetes-si…
Browse files Browse the repository at this point in the history
…gs#8477)

* Amend PR kubernetes-sigs#8471 with missing inventory configuration.

Signed-off-by: Julio Morimoto <julio@morimoto.net.br>

* Amend PR kubernetes-sigs#8471 with missing inventory configuration.

Signed-off-by: Julio Morimoto <julio@morimoto.net.br>
  • Loading branch information
juliohm1978 authored and LuckySB committed Jun 29, 2023
1 parent 2e380b1 commit 4f0f267
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/upgrades/migrate_docker2containerd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4f0f267

Please sign in to comment.