apps(metabase): deploy Metabase (WireGuard-only :8085) with CNPG app DB
- apps/base/metabase: namespace, CNPG Cluster pg (5Gi local-path, siriussec), Metabase Deployment v0.65.6.3 (1.5G heap, no PVC), Service, hostname-less HTTPRoute on the dedicated metabase Gateway - infrastructure/networking/internal: new Gateway metabase on port 8085 (own RouteConfiguration, so it cannot merge with Grafana's bare route) - host firewall: 8085 in siriussec nft set + rpi ufw guard
This commit is contained in:
parent
a0fc373e34
commit
930752152e
13 changed files with 225 additions and 14 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/sbin/nft -f
|
||||
# Internal (WireGuard-only) gateway listeners: TCP 8081 (Grafana) and 8084
|
||||
# (Hubble UI).
|
||||
# Internal (WireGuard-only) gateway listeners: TCP 8081 (Grafana), 8084
|
||||
# (Hubble UI) and 8085 (Metabase).
|
||||
#
|
||||
# Cilium's hostNetwork Envoy binds every Gateway listener on 0.0.0.0, so the
|
||||
# internal listeners are open on the LAN interface the moment the Gateway is
|
||||
|
|
@ -22,13 +22,13 @@ table inet internal_gw {
|
|||
type filter hook input priority filter; policy accept;
|
||||
|
||||
# local process / kubelet probes
|
||||
tcp dport { 8081, 8084 } iifname "lo" counter accept
|
||||
tcp dport { 8081, 8084, 8085 } 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 } counter accept
|
||||
tcp dport { 8081, 8084, 8085 } 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
|
||||
tcp dport { 8081, 8084, 8085 } counter drop
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue