- Remove 'when: not k3s_binary.stat.exists' condition from k3s-server and k3s-agent installation tasks to allow in-place upgrades of K3s versions - Update task names to reflect both install and upgrade functionality - Add change detection using stdout inspection for better Ansible reporting Add InfluxDB v2 native dashboard alongside Grafana dashboard: - Create influxdb/rpi-cluster-dashboard-v2.json for InfluxDB 2.8 compatibility - Update Grafana dashboard datasource UID from 'influx' to 'influxdb' - Remove unused disk usage and network traffic panels per user request Update worker node discovery in compute-blade-agent verification script: - Fix pattern matching to work with cm4-* node naming convention - Add support for pi-worker and cb-0* patterns as fallbacks - Now correctly parses [worker] section from inventory Update inventory version documentation: - Add comment explaining how to use 'latest' for auto-updates - Set version to v1.35.0+k3s1 (updated from v1.34.2+k3s1) - Add guidance on version format for users Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
39 lines
1.2 KiB
INI
39 lines
1.2 KiB
INI
[master]
|
|
# Add your k3s master/server nodes here
|
|
# Example: pi-master ansible_host=192.168.30.100 ansible_user=pi
|
|
cm4-01 ansible_host=192.168.30.101 ansible_user=pi
|
|
|
|
[worker]
|
|
# Add your k3s worker/agent nodes here
|
|
# Example: pi-worker-1 ansible_host=192.168.30.102 ansible_user=pi
|
|
# Example: pi-worker-2 ansible_host=192.168.30.103 ansible_user=pi
|
|
cm4-02 ansible_host=192.168.30.102 ansible_user=pi
|
|
cm4-03 ansible_host=192.168.30.103 ansible_user=pi
|
|
cm4-04 ansible_host=192.168.30.104 ansible_user=pi
|
|
|
|
[k3s_cluster:children]
|
|
master
|
|
worker
|
|
|
|
[k3s_cluster:vars]
|
|
# K3s version to install
|
|
# Use 'latest' for auto-updates, or specify a version like 'v1.29.0+k3s1'
|
|
k3s_version=v1.35.0+k3s1
|
|
|
|
# Network settings
|
|
ansible_user=pi
|
|
ansible_python_interpreter=/usr/bin/python3
|
|
|
|
# K3s configuration
|
|
# Flannel backend (vxlan is recommended for ARM)
|
|
extra_server_args="--flannel-backend=vxlan"
|
|
extra_agent_args=""
|
|
|
|
# Extra packages to install on all nodes
|
|
# Add or remove packages as needed (comma-separated list)
|
|
extra_packages=btop,vim,tmux,net-tools,dnsutils,iotop,ncdu,tree,jq
|
|
|
|
# Compute Blade Agent configuration
|
|
# Set to false to skip compute-blade-agent deployment on specific nodes
|
|
enable_compute_blade_agent=true
|