okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge branch 'f-1402-d2' into f-14021be32e9c7

main
578 B21 linesraw
1# Kubernetes (Prometheus Operator): Strata behind a Service whose port is named "http".
2# The API key lives in a Secret (key "key"), sent as a bearer token.
3apiVersion: monitoring.coreos.com/v1
4kind: ServiceMonitor
5metadata:
6  name: strata
7  labels:
8    release: kube-prometheus-stack   # whatever your Prometheus selects ServiceMonitors by
9spec:
10  selector:
11    matchLabels:
12      app: strata
13  endpoints:
14    - port: http
15      path: /metrics
16      interval: 15s
17      authorization:
18        type: Bearer
19        credentials:
20          name: strata-api-key
21          key: key