Add observability stack

Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
Ava Apples Affine 2025-07-18 15:47:36 -07:00
parent aca076e864
commit a74de574eb
4 changed files with 312 additions and 4 deletions

View file

@ -1,6 +1,11 @@
#dop_v1_8b514aa82e4930e58f8098a54088a36c01af2fb6020b792f7a7fe4be694ddc52
# BIG NOTE
# CAMS AND FRIGATE REMAIN UNEXPOSED TO WEB
kind: ConfigMap
apiVersion: v1
metadata:
name: nginx-ingress
data:
otel-exporter-endpoint: "observability:4317"
otel-trace-in-http: "true"
---
apiVersion: v1
kind: Secret
metadata:
@ -41,6 +46,7 @@ spec:
- echo.sunnypup.io
- home.sunnypup.io
- hephaestus.sunnypup.io
- mimir.sunnypup.io
---
apiVersion: cert-manager.io/v1
kind: Certificate
@ -56,6 +62,29 @@ spec:
---
apiVersion: k8s.nginx.org/v1
kind: VirtualServer
metadata:
name: observability
labels:
acme.cert-manager.io/http01-solver: "true"
spec:
host: mimir.sunnypup.io
tls:
cert-manager:
cluster-issuer: letsencrypt
secret: sunnypup-certs
redirect:
enable: true
upstreams:
- name: observability
service: observability
port: 3000
routes:
- path: /
action:
pass: observability
---
apiVersion: k8s.nginx.org/v1
kind: VirtualServer
metadata:
name: forge
labels:
@ -222,3 +251,4 @@ spec:
port: 22222
action:
pass: forge