prole/infrastructure/inventory/host_vars/retropie.prole.org.yml
chrisfu 57a7f12e7d k3s: Fix CloudNative-PG installation and improve Retropie networking
- Fixed YAML syntax and Python version parsing in CNPG operator tasks.
- Added automated detection of active network interface (eth0 vs wlan0) for Retropie and Pi nodes to ensure correct K3s configuration.
- Implemented persistent node taints for retropie.prole.org to exclude CloudNative-PG workloads.
- Added a rollout restart mechanism for cnpg-controller-manager to recover from scheduling on tainted or unstable nodes.
- Removed redundant kubectl-cnpg dependency from the Python installer as it is now managed by Ansible.
- Improved prole.sh to force color output for Ansible playbooks.
- Updated prole.cfg with active K3s token and CNPG version information.
2026-02-17 17:32:47 -08:00

32 lines
832 B
YAML

iscsi_portal: 10.0.0.203
iscsi_targets:
# PROLE-K3S-1
- iqn: "iqn.2000-01.com.synology:synology.Target-16.292d45194a1"
chap_user: "prole"
chap_password: "{{ vault_iscsi_prole_password }}"
mounts:
- path: /var/lib/rancher
fstype: ext4
opts: "_netdev,noatime"
src: "UUID=73a886bb-3f01-4e8a-9c6d-ab431c671824"
k3s_enabled: true
k3s_role: agent
k3s_node_ip: "10.0.0.207"
k3s_flannel_iface: "wlan0"
k3s_server_url: "https://myrddin.prole.org:6443"
k3s_token: "{{ vault_k3s_token | default('') }}"
k3s_node_labels:
- "prole.org/role=spare-monitoring"
k3s_node_taints:
- "prole.org/exclude-cnpg=true:NoSchedule"
k3s_write_kubeconfig_mode: "0640"
k3s_kubeconfig_group: kubeadm
k3s_kubeconfig_users:
- pi
cgroups_cmdline_candidates:
- /boot/cmdline.txt
- /boot/firmware/cmdline.txt