Commit Graph

14 Commits

Author SHA1 Message Date
michi b78249e8a1 Remove Keepalived VIP setup - using MikroTik hardware VIP instead
- Deleted vip-setup.yml playbook (Keepalived no longer needed)
- Updated MIKROTIK-VIP-SETUP-CUSTOM.md with corrected MikroTik syntax:
  * Fixed path notation: use spaces not slashes (/ip firewall nat not /ip/firewall/nat/)
  * Fixed action parameter: use dst-nat not dstnat
  * Added web interface alternative for NAT rule configuration
  * Added important syntax notes section
- Removed Keepalived documentation from README.md
- Kept MIKROTIK-VIP-SETUP.md as general reference guide
- Updated DNS and external access section to reference MikroTik VIP only

This simplifies the project by removing software-based VIP complexity since
the hardware-based MikroTik VIP provides better performance with no node overhead.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-08 17:02:19 +01:00
michi 079bb4ba77 Add MikroTik VIP setup guide as primary HA solution
Create MIKROTIK-VIP-SETUP.md with comprehensive guide:
- MikroTik Virtual IP configuration (web interface and CLI)
- NAT rule setup for traffic routing
- Health check script for automatic failover
- Comparison with Keepalived approach
- Troubleshooting guide
- Failover testing procedures

Update README.md DNS configuration section:
- Add MikroTik VIP as Option C1 (recommended for MikroTik users)
- Keep Keepalived as Option C2 (for non-MikroTik setups)
- Link to MIKROTIK-VIP-SETUP.md for detailed instructions
- Clear recommendation based on hardware

Benefits of MikroTik VIP over Keepalived:
- Hardware-based failover (more reliable)
- No additional software on cluster nodes
- Simpler setup (5 minutes vs 10 minutes)
- Better performance

Fix markdown linting issues:
- Add proper blank lines around lists
- Use headings instead of emphasis
- Maintain consistent formatting

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-08 16:46:21 +01:00
michi 6049509c5d Add Virtual IP (VIP) solution for single DNS record with failover
Create vip-setup.yml Ansible playbook for Keepalived-based VIP configuration
- Automatic failover between cluster nodes using VRRP protocol
- Health checks for API server availability
- Single IP address can be used in DNS instead of multiple A records
- Master node holds VIP by default, workers act as backups

Update README.md with comprehensive VIP documentation:
- Add three DNS options (single record, multiple records, VIP)
- Detailed VIP installation and verification steps
- Monitoring and failover testing procedures
- Troubleshooting guide for common VIP issues
- Instructions for disabling VIP if needed

Benefits:
- Single DNS A record pointing to VIP (192.168.30.100)
- Automatic failover with no manual intervention
- Load balancing capability across all nodes
- Transparent to applications

Fix markdown linting issues:
- Add proper blank lines around lists and code blocks
- Use consistent ordered list numbering (all 1.)
- Remove duplicate/extra blank lines
- Ensure proper spacing around headings

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-08 16:44:06 +01:00
michi 0434039b80 Add external DNS configuration guide and update ingress for test.zlor.fi
- Update nginx-test ingress to include test.zlor.fi domain
- Add comprehensive DNS configuration section to README with:
  - DNS A record setup (single and multi-record options)
  - Ansible playbook for automated DNS resolver configuration
  - Manual DNS configuration instructions
  - Ingress verification steps
  - Testing procedures and troubleshooting guide
  - Instructions for adding additional domains
- Fix markdown linting issues (blank lines, language identifiers, list prefixes)

DNS configuration now supports:
- External domain resolution (test.zlor.fi)
- systemd-resolved integration
- Load balancing across cluster nodes
- Multiple domain support

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-08 16:40:00 +01:00
michi eb800cd4e3 Fix K3s upgrade support and add monitoring dashboards
- 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>
2026-01-08 16:28:26 +01:00
michi ddf7dd93b5 adding metrics to influx via telegraf 2025-12-18 21:17:17 +01:00
michi 7568a1db92 renaming cluster nodes 2025-11-26 20:32:21 +01:00
michi 8e9f0caf6c fixing linter errors in markdown 2025-11-24 10:30:46 +01:00
michi fe7d03ce9a adding compute blade specific code 2025-11-24 10:25:03 +01:00
michi a81cb20228 adding packages to install 2025-10-22 11:34:15 +02:00
michi eacf3cb5de fix inconsistancies 2025-10-22 10:25:38 +02:00
michi 11aab36289 adding ingress 2025-10-22 08:43:06 +02:00
michi eb018de309 adding reboot ansible 2025-10-22 08:31:28 +02:00
michi f311e2ac00 initial commit 2025-10-22 08:20:53 +02:00