Last active
January 24, 2021 21:27
-
-
Save olljanat/57f95d228538bd0c31609ff71da8c2c5 to your computer and use it in GitHub Desktop.
Revisions
-
olljanat revised this gist
Jan 24, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,8 @@ run_cmd: - "chmod a+r /dev/kmsg" - "touch /var/log/k3s-service.log" - "chown rancher /var/log/k3s-service.log" - "if [ ! -f /var/lib/rancher/k3s/agent/etc ]; then mkdir -p /var/lib/rancher/k3s/agent/etc; fi" - "chown -R rancher /var/lib/rancher/k3s/agent/etc" k3os: modules: - overlay -
olljanat revised this gist
Jan 24, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,4 +13,5 @@ k3os: sysctls: kernel.dmesg_restrict: "0" k3s_args: - --rootless password: rancher -
olljanat created this gist
Jan 24, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ run_cmd: - "echo 0 > /proc/sys/kernel/dmesg_restrict" - "chmod a+r /dev/kmsg" - "touch /var/log/k3s-service.log" - "chown rancher /var/log/k3s-service.log" - "chown rancher /var/lib/rancher/k3s/agent/etc/crictl.yaml" k3os: modules: - overlay - nf_conntrack - br_netfilter - iptable_nat sysctls: kernel.dmesg_restrict: "0" k3s_args: - --rootless