cillium gateway config switch to linode node as gateway
This commit is contained in:
parent
75a0e56606
commit
c03c23bc4c
16 changed files with 620 additions and 1 deletions
71
infographic/home-k8s-mesh/analysis.md
Normal file
71
infographic/home-k8s-mesh/analysis.md
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
---
|
||||
title: "Home kubeadm cluster — native routing over WireGuard"
|
||||
topic: "technical"
|
||||
data_type: "system/structure"
|
||||
complexity: "complex"
|
||||
point_count: 11
|
||||
source_language: "en"
|
||||
user_language: "en"
|
||||
---
|
||||
|
||||
## Main Topic
|
||||
A three-node kubeadm cluster whose pod network is Cilium native routing over a WireGuard hub-and-spoke mesh (Pi hub, T480 control-plane, Linode spoke on a second tunnel), with public HTTP via Cloudflare tunnel to a Cilium Gateway pinned on siriussec.
|
||||
|
||||
## Learning Objectives
|
||||
After viewing this infographic, the viewer should understand:
|
||||
1. Which box is the WireGuard hub vs control-plane vs cloud spoke, and which CIDRs live where
|
||||
2. How a packet from the Pi (or Linode) reaches a Forgejo pod on siriussec without VXLAN
|
||||
3. Why the public Gateway listener must sit on siriussec even though cloudflared runs on the Pi
|
||||
|
||||
## Target Audience
|
||||
- **Knowledge Level**: Intermediate/Expert (Lance; already operates the cluster)
|
||||
- **Context**: Document the live datapath after switching off VXLAN
|
||||
- **Expectations**: A detailed diagram of nodes, tunnels, routes, and the ingress path
|
||||
|
||||
## Content Type Analysis
|
||||
- **Data Structure**: Spatial topology (nodes + two WG interfaces) plus a packet path and an ingress path
|
||||
- **Key Relationships**: Pi is hub for wg0 and wg-remote; Cilium autoDirectNodeRoutes via InternalIPs; Gateway same-node constraint
|
||||
- **Visual Opportunities**: Node boxes with IPs/CIDRs; hub-spoke tunnels; numbered packet hops; ingress arrow Internet→CF→Pi→T480:8080→pod
|
||||
|
||||
## Key Data Points (Verbatim)
|
||||
- "kubeadm v1.36.4"
|
||||
- "API https://10.10.0.2:6443 (VPN-only)"
|
||||
- "Cilium 1.18.13"
|
||||
- "routingMode: native"
|
||||
- "autoDirectNodeRoutes: true"
|
||||
- "ipv4NativeRoutingCIDR: 10.244.0.0/16"
|
||||
- "no VXLAN (cilium_vxlan device does not exist)"
|
||||
- "rpi … wg0 10.10.0.1 … wg-remote 10.20.0.2 … Pod CIDR 10.244.1.0/24"
|
||||
- "siriussec … wg0 10.10.0.2 … Pod CIDR 10.244.0.0/24 … LAN 192.168.1.179"
|
||||
- "linode … dummy-k8s 10.10.0.5 … wg0 10.20.0.1 … Pod CIDR 10.244.2.0/24"
|
||||
- "Legion … wg0 10.10.0.3 … not a node"
|
||||
- "Spoke AllowedIPs: 10.10.0.0/24, 10.244.0.0/16. Not a full tunnel."
|
||||
- "Pi wg0 extra_allowed_ips for peer siriussec: 10.10.0.2/32, 10.244.0.0/24"
|
||||
- "wg-remote … AllowedIPs 10.20.0.0/24, 10.10.0.5/32, 10.244.2.0/24"
|
||||
- "Forgejo 10.244.0.211"
|
||||
- "Pi ping+curl http://10.244.0.211:3000 → 200"
|
||||
- "Linode ping+curl → 200 (~20ms)"
|
||||
- "rpi pod wget → HTTP 200"
|
||||
- "Internet → Cloudflare TLS → cloudflared (systemd on rpi) → http://192.168.1.179:8080 → Cilium Gateway hostNetwork on siriussec"
|
||||
- "reserved:ingress 10.244.1.61"
|
||||
- "SYN-ACK returns, Envoy never ACKs"
|
||||
- "https://forgejo.siriusdevops.com/ → 200"
|
||||
- "dedicated=network:PreferNoSchedule"
|
||||
- "label gateway=true"
|
||||
|
||||
## Layout × Style Signals
|
||||
- Content type: system/structure + hub-and-spoke topology → hub-spoke or structural-breakdown or isometric-map
|
||||
- Tone: technical homelab, neon/flashy for personal projects → cyberpunk-neon or technical-schematic or pop-laboratory
|
||||
- Audience: operator who already knows the cluster → dense, labeled IPs not dumbed down
|
||||
- Complexity: complex (9+ points) → dense-modules or structural-breakdown
|
||||
|
||||
## Design Instructions (from user input)
|
||||
- Detailed diagram of how this (native routing over WireGuard + Gateway) works
|
||||
- Use baoyu-infographic
|
||||
- Personal-project visual preference: neon/flashy (not the quiet OSINT HUD)
|
||||
|
||||
## Recommended Combinations
|
||||
1. **hub-spoke + cyberpunk-neon** (Recommended): The mesh is literally hub-and-spoke; neon matches personal-project style; Pi sits in the center with spokes carrying node IP + pod CIDR.
|
||||
2. **structural-breakdown + technical-schematic**: Exploded layers (Internet / CF / WG / Cilium routes / pods) as a blueprint.
|
||||
3. **isometric-map + pop-laboratory**: Spatial map of house vs VPS with coordinate-precise CIDR labels.
|
||||
4. **dense-modules + cyberpunk-neon**: High-density panels (nodes, routes table, packet walk, ingress, Envoy caveat).
|
||||
Loading…
Reference in a new issue