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
139
infographic/home-k8s-mesh/prompts/infographic.md
Normal file
139
infographic/home-k8s-mesh/prompts/infographic.md
Normal file
|
|
@ -0,0 +1,139 @@
|
|||
Create a professional infographic following these specifications:
|
||||
|
||||
## Image Specifications
|
||||
|
||||
- **Type**: Infographic
|
||||
- **Layout**: structural-breakdown
|
||||
- **Style**: technical-schematic
|
||||
- **Aspect Ratio**: 9:16
|
||||
- **Language**: en
|
||||
|
||||
## Core Principles
|
||||
|
||||
- Follow the layout structure precisely for information architecture
|
||||
- Apply style aesthetics consistently throughout
|
||||
- Keep information concise, highlight keywords and core concepts
|
||||
- Use ample whitespace for visual clarity
|
||||
- Maintain clear visual hierarchy
|
||||
- Preserve all CIDRs, IPs, and status codes exactly — do not round or paraphrase
|
||||
|
||||
## Text Requirements
|
||||
|
||||
- All text in English
|
||||
- Technical stencil or clean sans-serif
|
||||
- All-caps labels where the style requires
|
||||
- Main title prominent and readable
|
||||
- Labels clear and appropriately sized
|
||||
|
||||
## Layout Guidelines
|
||||
|
||||
Internal structure visualization with labeled parts or layers.
|
||||
- Central subject: the home kubeadm cluster as a cutaway / exploded stack
|
||||
- Parts or layers clearly shown, top to bottom
|
||||
- Labels with callout lines
|
||||
- Exploded or cutaway view
|
||||
- Optional zoomed detail sections
|
||||
Visual elements: main subject clearly rendered; callout lines with dots/arrows; label boxes at endpoints; numbered parts; layer boundaries.
|
||||
Text placement: title at top; part/layer labels at callouts; brief descriptions in boxes; legend for numbered systems.
|
||||
|
||||
Layers from TOP (public) to BOTTOM (pods):
|
||||
1. INTERNET / CLOUDFLARE TLS
|
||||
2. RPI EDGE — cloudflared systemd + wgportal
|
||||
3. WIREGUARD HUB-AND-SPOKE — wg0 k8s-mesh and wg-remote
|
||||
4. CILIUM NATIVE ROUTING — no VXLAN, autoDirectNodeRoutes
|
||||
5. WORKLOADS — Forgejo + CNPG on siriussec
|
||||
Side callout / cutaway: ENVOY CAVEAT on rpi (reserved:ingress)
|
||||
|
||||
## Style Guidelines
|
||||
|
||||
Technical diagrams with engineering precision and clean geometry.
|
||||
Color palette:
|
||||
- Primary: Blues (#2563EB), teals, grays, white lines
|
||||
- Background: Deep blue (#1E3A5F) blueprint with faint grid
|
||||
- Accents: Amber highlights (#F59E0B), cyan callouts
|
||||
Variant: Blueprint — white on blue, measurements, grid
|
||||
Visual elements: geometric precision; grid pattern; dimension lines; technical symbols; clean vector shapes; consistent stroke weights
|
||||
Typography: technical stencil or clean sans-serif; all-caps labels; measurement annotations
|
||||
|
||||
---
|
||||
|
||||
Generate the infographic based on the content below:
|
||||
|
||||
TITLE: HOME KUBEADM — NATIVE ROUTING OVER WIREGUARD
|
||||
SUBTITLE: kubeadm v1.36.4 · Cilium 1.18.13 · routingMode native · API https://10.10.0.2:6443 VPN-ONLY
|
||||
|
||||
LAYER 1 — INTERNET
|
||||
Internet → Cloudflare TLS → origin http://192.168.1.179:8080
|
||||
Public check: https://forgejo.siriusdevops.com/ → 200
|
||||
|
||||
LAYER 2 — RPI EDGE (hub)
|
||||
rpi arm64 · traffic/worker · taint dedicated=network:PreferNoSchedule
|
||||
LAN 192.168.1.125
|
||||
wg0 10.10.0.1/24 ListenPort 51820 (k8s-mesh)
|
||||
wg-remote 10.20.0.2/24
|
||||
Pod CIDR 10.244.1.0/24 · cilium_host 10.244.1.240
|
||||
Runs: cloudflared (systemd), wgportal/wg-portal:v2 host-network UI :8888
|
||||
nginx is off
|
||||
|
||||
LAYER 3 — WIREGUARD SPOKES
|
||||
siriussec ThinkPad T480 · control-plane AND worker · label gateway=true
|
||||
LAN 192.168.1.179 · wg0 10.10.0.2 · Pod CIDR 10.244.0.0/24 · cilium_host 10.244.0.243 · amd64
|
||||
Hub extra_allowed_ips: 10.10.0.2/32, 10.244.0.0/24
|
||||
Spoke AllowedIPs: 10.10.0.0/24, 10.244.0.0/16 (not a full tunnel)
|
||||
|
||||
linode worker · dedicated=network PreferNoSchedule
|
||||
dummy-k8s 10.10.0.5 · wg0 10.20.0.1/24 ListenPort 51820 · Pod CIDR 10.244.2.0/24 · cilium_host 10.244.2.78
|
||||
NOT a wg0 peer — lives on Pi wg-remote
|
||||
wg-remote AllowedIPs: 10.20.0.0/24, 10.10.0.5/32, 10.244.2.0/24
|
||||
Linode AllowedIPs include 10.20.0.2/32, 10.10.0.0/24, 10.96.0.0/12, 10.244.0.0/16
|
||||
|
||||
Legion admin kubectl/k9s ONLY — not a node · wg0 10.10.0.3
|
||||
|
||||
ip_forward=1 on Pi, siriussec, linode
|
||||
|
||||
LAYER 4 — CILIUM NATIVE ROUTES (no VXLAN, cilium_vxlan does not exist)
|
||||
kubeProxyReplacement true · autoDirectNodeRoutes true · ipv4NativeRoutingCIDR 10.244.0.0/16
|
||||
Route table:
|
||||
siriussec: 10.244.1.0/24 via 10.10.0.1 dev wg0 · 10.244.2.0/24 via 10.10.0.5 dev wg0
|
||||
rpi: 10.244.0.0/24 via 10.10.0.2 dev wg0 · 10.244.2.0/24 via 10.10.0.5 dev wg-remote
|
||||
linode: 10.244.0.0/24 via 10.10.0.2 dev wg0 · 10.244.1.0/24 via 10.10.0.1 dev wg0
|
||||
|
||||
PACKET WALK (numbered 1–4) dest Forgejo 10.244.0.211:
|
||||
1. Route 10.244.0.211 via 10.10.0.2 dev wg0
|
||||
2. Cryptokey: dest 10.244.0.0/16 matches spoke→hub AllowedIPs, encrypted to Pi
|
||||
3. Pi decrypts; dest 10.244.0.0/24 matches siriussec extra_allowed_ips; encrypted to T480
|
||||
4. T480 cilium_host → pod
|
||||
Verified: Pi curl http://10.244.0.211:3000 → 200 · Linode curl → 200 (~20ms) · rpi pod wget HTTP 200
|
||||
|
||||
LAYER 5 — WORKLOADS ON SIRIUSSEC
|
||||
Cilium Gateway hostNetwork :8080 (gateway=true)
|
||||
HTTPRoute forgejo.siriusdevops.com → Service ClusterIP 10.110.27.237:3000
|
||||
Forgejo pod 10.244.0.211 · CNPG pg-1 1 replica local-path
|
||||
Default pods land on siriussec
|
||||
LAN: curl -H Host: forgejo.siriusdevops.com http://192.168.1.179:8080/ → 200
|
||||
|
||||
CUTAWAY CALLOUT — DO NOT BIND GATEWAY ON RPI
|
||||
Cilium Envoy on a remote node: SYN sourced as reserved:ingress 10.244.1.61
|
||||
SYN-ACK returns · Envoy never ACKs
|
||||
Pod-to-pod and host curl over WG are fine
|
||||
Pin Gateway listener to the same node as app pods
|
||||
|
||||
Text labels (in en):
|
||||
"HOME KUBEADM — NATIVE ROUTING OVER WIREGUARD"
|
||||
"kubeadm v1.36.4"
|
||||
"Cilium 1.18.13"
|
||||
"routingMode: native"
|
||||
"API https://10.10.0.2:6443 VPN-ONLY"
|
||||
"INTERNET / CLOUDFLARE TLS"
|
||||
"RPI EDGE HUB"
|
||||
"wg0 k8s-mesh :51820"
|
||||
"wg-remote"
|
||||
"SIRIUSSEC CP+WORKER gateway=true"
|
||||
"LINODE SPOKE"
|
||||
"LEGION NOT A NODE"
|
||||
"NO VXLAN"
|
||||
"PACKET TO 10.244.0.211"
|
||||
"200"
|
||||
"reserved:ingress 10.244.1.61"
|
||||
"SYN-ACK returns, Envoy never ACKs"
|
||||
"192.168.1.179:8080"
|
||||
Loading…
Reference in a new issue