techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

Fix k3s manifest #53

Closed timothystewart6 closed 2 years ago

timothystewart6 commented 2 years ago

This fixes an "issue" that causes manifests to be reapplied each time the k3s service is started. This will remove the contents of /var/lib/rancher/k3s/server/manifests after the cluster has applied the files.

k3s advanced docs

If you are experiencing this with you cluster, the fix is simple

remove the contents of /var/lib/rancher/k3s/server/manifests from each server (leave the manifest files in place).

This closes #51