How kube-hetzner/terraform-hcloud-kube-hetzner works
Main Components
a. Infrastructure Layer:
• Hetzner Cloud Provider
• Network Components (Private Network, Subnets)
• Load Balancers
• Floating IPs
• Placement Groups
• Storage (Volumes)
b. Node Layer:
• Control Plane Nodes (MicroOS-based)
• Agent Nodes (MicroOS-based)
• Autoscaler Nodes (Optional)
c. Kubernetes Layer:
• K3s Distribution
• CNI (Flannel/Calico/Cilium)
• Storage Providers (Longhorn/Hetzner CSI)
• Ingress Controllers (Traefik/Nginx/HAProxy)
Component Relationships
• Hetzner Cloud Provider → All Infrastructure Components
• Load Balancers → Control Plane Nodes
• Private Network → All Nodes
• Control Plane Nodes ↔ Agent Nodes (via Private Network)
• Storage → Relevant Nodes
• Ingress Controllers → Load Balancers
Specific Implementation Details
┌─ Automation & Management ─┐
• Terraform │
• Packer (OS Images) │
• Cloud-Init │
• ┘
┌─ Security ──────────────┐
• Firewalls │
• Network Policies │
• Encryption at Rest │
• ┘
┌─ High Availability ────┐
• Multi-Node Control │
• Load Balancing │
• Auto-healing │
• ┘
Flow Directions
Following flows:
• External Traffic → Load Balancer → Ingress → Services
• Internal Traffic Flow between Nodes
• Control Plane to Agent Node Communication
• Storage Access Patterns
Deployment Stages
Showing the deployment flow:
-ons Deployment
• The modular nature of the system
• High availability features
• Security implementations
• Networking architecture
• Automation capabilities
Remember to include version information and any environment-specific configurations as notes or in a separate reference section.