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
25
apps/base/metabase/httproute.yaml
Normal file
25
apps/base/metabase/httproute.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Internal only, and deliberately HOSTNAME-LESS: it answers on the bare WireGuard
|
||||
# address http://10.10.0.2:8085/ for every Host header. Phones cannot edit
|
||||
# /etc/hosts, so a hostname would make the evaluation unusable on mobile.
|
||||
#
|
||||
# parentRefs is the dedicated `metabase` Gateway (infrastructure/networking/
|
||||
# internal/gateway-metabase.yaml), NOT the shared `internal` one: Cilium merges
|
||||
# every hostname-less route of a Gateway into one weighted route, so sharing a
|
||||
# Gateway with Grafana would serve both services on both ports at random.
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: metabase
|
||||
namespace: metabase
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: metabase
|
||||
namespace: internal
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: metabase
|
||||
port: 3000
|
||||
Loading…
Reference in a new issue