internal gateway: single serving address (siriussec only) + a probe that notices when it flaps
rpi carried node-role.kubernetes.io/gateway=true, so cilium-envoy bound 8080/8081/8084 there too. Its Envoy completes TCP to a backend pod on siriussec but never finishes the request: every hit on 10.10.0.1:8081/8084 hung 5s and returned 503, even from the Pi own 127.0.0.1, while 10.10.0.2 answered in ms. Clients that tried either address saw the dashboards flap. Remove the label from rpi: one gateway node, one address. The Gateway status.addresses still lists every node InternalIP (cilium#29060 ignores spec.addresses) - it is not a VIP; only 10.10.0.2 serves. Add blackbox-exporter + Probe (8081, 8084 every 30s) + PrometheusRule alerts so a regression is visible in the stack instead of on a phone. Give the internal_gw nft accept rules counters so an allowed request is provable.
This commit is contained in:
parent
8293df123f
commit
48b2b6ac01
4 changed files with 205 additions and 20 deletions
|
|
@ -22,11 +22,11 @@ table inet internal_gw {
|
|||
type filter hook input priority filter; policy accept;
|
||||
|
||||
# local process / kubelet probes
|
||||
tcp dport { 8081, 8084 } iifname "lo" accept
|
||||
tcp dport { 8081, 8084 } iifname "lo" counter accept
|
||||
|
||||
# WireGuard mesh (Legion = 10.10.0.3, nodes, remote hub spokes)
|
||||
# and the pod network (in-cluster scrapers, probes)
|
||||
tcp dport { 8081, 8084 } ip saddr { 10.10.0.0/24, 10.244.0.0/16 } accept
|
||||
tcp dport { 8081, 8084 } ip saddr { 10.10.0.0/24, 10.244.0.0/16 } counter accept
|
||||
|
||||
# everything else: LAN, tailscale, public
|
||||
tcp dport { 8081, 8084 } counter drop
|
||||
|
|
|
|||
Loading…
Reference in a new issue