Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/ops/delete-worker-node.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,23 @@ systemctl stop kubelet
systemctl stop docker
```

If using containerd as the CRI, the following command needs to be executed to stop the `ovs-ovn` container:
### Containerd
> In case of containerd, stopping the services does not stop the running pods/containers; it is required to stop ovs-ovn manually.

With conatinerd the following command needs to be executed to stop the `ovs-ovn` container:

1. Stop kubelet
```bash
systemctl stop kubelet
```
2. Remove ovs-ovn pod
```bash
crictl rm -f $(crictl ps | grep openvswitch | awk '{print $1}')
```
3. Stop containerd
```bash
systemctl stop containerd
```

## Cleanup Files on Node

Expand Down