High-availability virtual IP management system with Kubernetes integration.
ha-vip/
├── cmd/ha-vip/ # Main application entry point
├── internal/ # Internal packages
│ ├── config/ # Configuration management
│ ├── election/ # Leader election logic
│ ├── heartbeat/ # Peer heartbeat system
│ ├── k8s/ # Kubernetes health checking
│ └── vip/ # VIP management
├── configs/ # Configuration templates
├── deployments/ # Deployment files (systemd, scripts)
├── docs/ # Documentation
├── examples/ # Example configurations
└── scripts/ # Build and utility scripts
For Kubernetes control plane deployment, see Control Plane Setup.
For general installation, see Installation Guide.
- High-availability virtual IP failover with gratuitous ARP
- Kubernetes API server health monitoring (in-cluster and external)
- Priority-based leader election with anti-flapping
- Service account and token-based authentication
- Stability controls with 5-second response time
- Fast network convergence with automatic ARP updates
- Systemd service integration
- Installation Guide
- Control Plane Setup
- Kubernetes Integration
- SSL Certificate Generation
- Non-Root Deployment
- Configuration Reference
# Build for current platform
go build -o ha-vip ./cmd/ha-vip
# Cross-compile for ARM64 Linux
GOOS=linux GOARCH=arm64 go build -o ha-vip-linux-arm64 ./cmd/ha-vipMIT License