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,53 @@
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: mastodon-metrics
namespace: mastodon-application
labels:
app.kubernetes.io/name: mastodon
app.kubernetes.io/component: monitoring
spec:
selector:
matchLabels:
app.kubernetes.io/name: mastodon
app.kubernetes.io/component: web
endpoints:
- port: http
path: /metrics
interval: 30s
scrapeTimeout: 10s
scheme: http
honorLabels: true
relabelings:
- sourceLabels: [__meta_kubernetes_pod_name]
targetLabel: pod
- sourceLabels: [__meta_kubernetes_pod_node_name]
targetLabel: node
- sourceLabels: [__meta_kubernetes_namespace]
targetLabel: namespace
- sourceLabels: [__meta_kubernetes_service_name]
targetLabel: service
metricRelabelings:
- sourceLabels: [__name__]
regex: 'mastodon_.*'
action: keep
---
apiVersion: v1
kind: Service
metadata:
name: mastodon-web-metrics
namespace: mastodon-application
labels:
app.kubernetes.io/name: mastodon
app.kubernetes.io/component: web
spec:
type: ClusterIP
ports:
- name: http
port: 3000
protocol: TCP
targetPort: 3000
selector:
app.kubernetes.io/name: mastodon
app.kubernetes.io/component: web