Skip to content

Commit e2f1b1d

Browse files
fix(post): Added k3s args comment
1 parent e4d8f69 commit e2f1b1d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

_posts/2022-03-19-k3s-etcd-ansible.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ node
4949

5050
Edit `inventory/my-cluster/group_vars/all.yml` to your liking. See comments inline.
5151

52+
The variables I used in the video are:
53+
54+
*Note: These are for an advanced use case. There isn't a one size fits all setting for everyone and their needs, I would try using k3s without these before changing. This could have undesired effects like nodes going offline, pods jumping or being removed, etc...*
55+
56+
57+
```yaml
58+
extra_server_args: "--no-deploy servicelb --no-deploy traefik --write-kubeconfig-mode 644 --kube-apiserver-arg default-not-ready-toleration-seconds=30 --kube-apiserver-arg default-unreachable-toleration-seconds=30 --kube-controller-arg node-monitor-period=20s --kube-controller-arg node-monitor-grace-period=20s --kubelet-arg node-status-update-frequency=5s"
59+
extra_agent_args: "--kubelet-arg node-status-update-frequency=5s"
60+
```
61+
62+
5263
Start provisioning of the cluster using the following command:
5364
5465
```bash

0 commit comments

Comments
 (0)