Notes how to setup kubernetes cluster in Hetzner cloud
- kubernetes: 1.27.2
- OS: Rocky linux 9
- Docker: 24.0.2
- Container runtime: Docker
- Network: Flannel
- Cloud controller manager
- Private network management
- Nodes interfaces settings
- Load balancers
- Autoscaler
- Storage driver
For this step you can use web cloud console or hcloud cli app
- (Optional) Create firewall with no-limit outbound, allow inbound TCP 22 and ICMP
- (Optional) Create placement group
- (Optional) Upload your ssh key
- Create private network 10.0.0.0/16
- Create access token with read and write permissions
- Create master node (Ex. CX21) with attached firewall, network, placement group and ssh key
- Follow cloud-init-all.sh in master node
- Make master node snapshot for worker nodes
- Follow cloud-init-master.sh
- Add base64 encoded join command to autoscaler (ex. in cloud-init-worker.sh)
- Test your setup with echoserver deployment
- (Optional) Install addons