Skip to content

K3s

Setup project

Setup K3s cluster with Ansible: https://ansible.build/roles/k3s/

Setup Kubeconfig with alias rpi.

Switch to rpi cluster.

task switch-context rpi-admin

Setup cert manager

Install cert manager.

task install-chart cert-manager values/k3s.raspberrypi.build.yaml

Install cluster issuer.

task install-chart cluster-issuer values/k3s.raspberrypi.build.yaml

Create Hugo release

Create a namespace for the application.

kubectl create namespace <namespace>
kubectl-ns <namespace>

Install the Hugo chart.

task install-chart taskfile-build