Public GitOps repository for showing how I run my services on k3s https://tobru.ch/
This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Tobias Brunner a34a5e0b96 on k3s were using traefik 2020-01-25 20:40:53 +01:00
_apps install mosquitto 2020-01-25 20:26:22 +01:00
cert-manager on k3s were using traefik 2020-01-25 20:40:53 +01:00
mosquitto there must be a selector 2020-01-25 20:28:51 +01:00
sealed-secrets install sealed secrets controller 2020-01-25 20:13:41 +01:00
README.md initial commit 2020-01-25 20:01:21 +01:00

README.md

GitOps for tbrnt k3s hosting

k3s on Alpine

  • Install k3s: apk add k3s cni-plugins iptables
  • Enable cgroups: rc-update add cgroups default
  • Adapt service file /etc/init.d/k3s:

#!/sbin/openrc-run

export PATH=/usr/share/cni-plugins/bin:$PATH

name="k3s" command="/usr/bin/k3s" command_args="$K3S_OPTS" command_background="yes" output_log="/var/log/k3s.log" error_log="/var/log/k3s.err"

start_stop_daemon_args="server" pidfile="/run/k3s.pid"

depend() { need net after firewall }


Helpful links:

* https://rancher.com/docs/k3s/latest/en/advanced/#additional-preparation-for-alpine-linux-setup
* https://github.com/rancher/k3s/issues/660