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
31
infrastructure/networking/internal/gateway-metabase.yaml
Normal file
31
infrastructure/networking/internal/gateway-metabase.yaml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: metabase
|
||||
namespace: internal
|
||||
labels:
|
||||
dedicated: network
|
||||
annotations:
|
||||
# Why a second Gateway instead of a second listener on `internal`:
|
||||
# Cilium renders one RouteConfiguration per Gateway shared by all its
|
||||
# listeners, so a hostname-less route on any listener of `internal` would
|
||||
# merge with Grafana's into one 50/50 weighted route. Its own Gateway gives
|
||||
# it its own RouteConfiguration.
|
||||
sirius.dev/purpose: bare-IP listener for Metabase (WireGuard only)
|
||||
spec:
|
||||
gatewayClassName: cilium
|
||||
listeners:
|
||||
- name: http-internal
|
||||
protocol: HTTP
|
||||
# PORT MUST BE FREE ON *EVERY* NODE THAT RUNS cilium-envoy (siriussec
|
||||
# 10.10.0.2 is the only `gateway=true` node today). Cilium binds
|
||||
# 0.0.0.0:<port> hostNetwork, so a port held by anything else on a gateway
|
||||
# node makes xDS reject the listener there ("cannot bind '0.0.0.0:<port>':
|
||||
# Address already in use") and restart-loops that node's Envoy — which
|
||||
# fronts the public ingress. Verified free 2026-11-22:
|
||||
# `ss -lntH "sport = :8085" | wc -l` = 0 on siriussec.
|
||||
# 8080 (public), 8081 (Grafana), 8084 (Hubble UI) are taken.
|
||||
port: 8085
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: All
|
||||
Loading…
Reference in a new issue