redaction (#1)

Add the redacted source file for demo purposes

Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1
Co-authored-by: Michael DiLeo <michael_dileo@proton.me>
Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
This commit was merged in pull request #1.
This commit is contained in:
2025-12-24 13:40:47 +00:00
committed by michael_dileo
parent 612235d52b
commit 7327d77dcd
333 changed files with 39286 additions and 1 deletions

View File

@@ -0,0 +1,44 @@
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: pixelfed-monitoring
namespace: pixelfed-application
labels:
app: pixelfed
spec:
selector:
matchLabels:
app: pixelfed
component: web
endpoints:
# Health/instance monitoring endpoint (always available)
- port: http
interval: 30s
path: /api/v1/instance
scheme: http
scrapeTimeout: 10s
# Prometheus metrics endpoint (if available)
- port: http
interval: 30s
path: /metrics
scheme: http
scrapeTimeout: 10s
---
# Additional ServiceMonitor for worker logs
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: pixelfed-worker-monitoring
namespace: pixelfed-application
labels:
app: pixelfed
component: worker
spec:
# For worker pods, we'll monitor via pod selector since there's no service
selector:
matchLabels:
app: pixelfed
component: worker
# Note: Workers don't expose HTTP endpoints, but this enables log collection
endpoints: []