Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fenio authored Sep 9, 2022
1 parent 1fe07d9 commit 5242b7a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,17 @@ root@synology:~# ln -s /volume1/rancher /var/lib/rancher
root@synology:~# curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.17.17+k3s1 sh -
```

At this point k3s should be running but it will stuck trying to create containers/pods. We have to fix one more thing so let's stop k3s for now.
At this point k3s should be running but it will stuck trying to create containers/pods. We have to fix one more thing.
During startup k3s should create containerd configuration file and we have to make copy of it and modify it.

```
root@synology:~# systemctl stop k3s
root@synology:~# cp /volume1/rancher/k3s/agent/etc/containerd/config.toml /volume1/rancher/k3s/agent/etc/containerd/config.toml.tmpl
```

During startup k3s should create containerd configuration file and we have to make copy of it and modify it.
And now you can stop k3s.

```
root@synology:~# cp /volume1/rancher/k3s/agent/etc/containerd/config.toml /volume1/rancher/k3s/agent/etc/containerd/config.toml.tmpl
root@synology:~# systemctl stop k3s
```

Now edit config.toml.tmpl and add the following section to it:
Expand Down

0 comments on commit 5242b7a

Please sign in to comment.