homeserver/ansible: add playbook to spin up k8s cluster

- add new playbook to spin-up kubernetes cluster using k0sctl and
  k0sctl config file
This commit is contained in:
2025-06-28 13:37:19 +03:00
parent 6a9aefa02d
commit cba783b7ba
7 changed files with 213 additions and 2 deletions

View File

@ -0,0 +1,12 @@
# custom-values.yaml
config:
address: $VIP_ADDRESS
env:
# Ensure the interface name is correct for the Nodes
# Can be found using `ip a` command
# For proxmox nodes, the interface name is usually `ens18`
vip_interface: ens18
cp_enable: true
svc_enable: false
nodeSelector:
node-role.kubernetes.io/control-plane: "true"