apps(farrisilk): lab replica stack (Odoo 18 + plain Postgres + Metabase) on :8086/:8087
Odoo 18 (dated tag 18.0-20261112) on a plain postgres:16 container, not CNPG: the client runs bare Postgres on a Proxmox VM and this namespace mirrors that shape. Odoo's initContainer installs base,web once, applies the read-only BI grants/revokes and sets the admin login from a Secret. Metabase gets its own state in the same Postgres (db metabase) with a 1Gi heap and MB_ENCRYPTION_SECRET_KEY. Two bare-IP Gateways (8086 odoo, 8087 metabase) in ns internal, each with its own RouteConfiguration. Host firewall (nft on siriussec, ufw on rpi) carries 8086/8087 and was installed before the Gateways were pushed.
This commit is contained in:
parent
930752152e
commit
7f7f806616
14 changed files with 874 additions and 6 deletions
|
|
@ -0,0 +1,31 @@
|
|||
# Own Gateway for Odoo because each bare-IP (hostname-less) service needs its own
|
||||
# RouteConfiguration: Cilium renders one per Gateway and merges all hostname-less
|
||||
# routes inside it into a single weighted route. Sharing a Gateway with Grafana
|
||||
# (8081) / Hubble (8084) / Metabase (8085) or with the sibling :8087 listener
|
||||
# here would make both ports answer for a random backend.
|
||||
#
|
||||
# Port 8086 must be free on EVERY node running cilium-envoy (siriussec 10.10.0.2
|
||||
# is the only `gateway=true` node). Envoy binds 0.0.0.0:<port> hostNetwork, so
|
||||
# the host firewall (infrastructure/networking/internal/host-firewall/) must be
|
||||
# installed BEFORE this is pushed; otherwise the listener is open on the LAN the
|
||||
# moment it is programmed.
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: farrisilk-odoo
|
||||
namespace: internal
|
||||
labels:
|
||||
dedicated: network
|
||||
annotations:
|
||||
sirius.dev/purpose: bare-IP listener for the Farrisilk lab Odoo (WireGuard only)
|
||||
spec:
|
||||
gatewayClassName: cilium
|
||||
listeners:
|
||||
- name: http-internal
|
||||
protocol: HTTP
|
||||
# Verified free 2026-11-22: `ss -lntH "sport = :8086" | wc -l` = 0 on
|
||||
# siriussec. Taken: 8080 public, 8081 Grafana, 8084 Hubble, 8085 Metabase.
|
||||
port: 8086
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: All
|
||||
Loading…
Reference in a new issue