ansible/inventories/group_vars/k3s.yml

23 lines
872 B
YAML
Raw Normal View History

2026-10-11 22:29:14 +02:00
---
# Ubuntu cloud-init VMs: no root login, `un-oeil` has passwordless sudo.
ansible_user: un-oeil
ansible_become: true
# Bumping this upgrades the cluster, one node at a time (deploy_kube.yml).
k3s_version: v1.36.5+k3s1
# Extra names/IPs in the API certificate. The cluster-init master also adds its
# own IP. 10.0.0.139 is reserved for a kube-vip address.
k3s_tls_san:
- 10.0.0.139
k3s_master_taint: node-role.kubernetes.io/control-plane:NoSchedule
# Join token. Leave undefined to read it from the cluster-init master
# (/var/lib/rancher/k3s/server/token). Set it (vaulted, e.g. group_vars/all/secrets.yml)
# only to build a new cluster with a known token.
# k3s_token: "{{ vault_k3s_token }}"
# Longhorn data disk on the workers: the 200 GB zvol on hdd-mirror.
k3s_longhorn_disk: /dev/sdb
k3s_longhorn_disk_size: 214748364800
k3s_longhorn_path: /var/lib/longhorn