Infrastructure
The infrastructure of the project is rather simple but it is worth splitting it in two distinct diagrams:
- Physical: It refers to the real infrastructure that is deployed. This includes local IP addresses for each machine, router configuration, DHCP configuration and any other configuration or device that refers to physical/real devices.
- Logical: This mainly refers to the configuration that Cloudflare uses. The cluster is exposed via Cloudflare Tunnels and the Cloudflared client is running in each machine. In this context each node has another IP that is different from the one used by physical devices and is the one Cloudflare uses to correctly route requests.
Although the configuration for public endpoints is set up. Most of the endpoints exposed via Cloudflare are protected with Cloudflare Access.
Physical infrastructure diagram
Logical infrastructure diagram
IP reservations
Reserved IP spaces on my local network
Host | Address |
---|---|
DHCP | 192.168.0.10 - 192.168.0.189 |
K8s load balancer IPs | 192.168.0.190 - 192.168.0.199 |
Master nodes | 192.168.0.200 - 192.168.0.210 |
Nodes | 192.168.0.211 - 192.168.1.254 |
Nodes IPs
Host | Phyisical address | Logical address |
---|---|---|
Control plane node 1 | 192.168.0.200 | 170.0.0.1 |
Worker node 1 | 192.168.0.211 | 170.0.0.2 |
Worker node 2 | 192.168.0.212 | 170.0.0.3 |