k3s-cluster/docs/setup.md

587 B

Cluster Setup

This document goes over the process of installing the GitOps files into a cluster

Install calico

Now install the FluxCD stuff:
https://github.com/larivierec/home-cluster#installation

Uninstalling and removing all k3s data in NixOS

sudo systemctl stop k3s
sudo rm -rf /etc/rancher/k3s
sudo rm -rf /var/lib/rancher/k3s
sudo systemctl start k3s

sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
sudo chown $USER ~/.kube/config
sudo chmod 600 ~/.kube/config