infra-ansible

ansible script to ship alpine/ssh/wireguard

git clone https://9o.is/git/infra-ansible.git

commit c4ab5524094773ad7509dddf695e658e0bb28cd4
parent 26c4d7b977e0a405a081948b3147f61538791312
Author: Jul <jul@9o.is>
Date:   Thu, 16 May 2024 13:19:29 +0800

specify k0s storage as kine sqlite

Diffstat:
Mhost/roles/k0s/templates/k0s.yaml.j2 | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/host/roles/k0s/templates/k0s.yaml.j2 b/host/roles/k0s/templates/k0s.yaml.j2 @@ -63,9 +63,8 @@ spec: serviceCIDR: 10.96.0.0/12 scheduler: {} storage: - etcd: - externalCluster: null - peerAddress: {{ ansible_default_ipv4.address }} - type: etcd + type: kine + kine: + dataSource: sqlite:/var/lib/k0s/db/state.db?mode=rwc&_journal=WAL&cache=shared telemetry: enabled: true