A dedicated Prometheus at 10.0.15.25 on the private network can now scrape the cluster via `<any-node-ip>:30090/metrics`. Scrape rotates across pods; BEAM metrics stay representative as a sample and the oban queue-depth gauge reads from the shared DB so all pods report the same value.
11 lines
395 B
YAML
11 lines
395 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
# secret.yaml is applied out-of-band and is git-ignored (contains plaintext
|
|
# credentials). Flux reconciles deployment.yaml etc. but does NOT manage the
|
|
# secret. Rotate secrets by applying secret.yaml with kubectl directly.
|
|
resources:
|
|
- namespace.yaml
|
|
- rbac.yaml
|
|
- deployment.yaml
|
|
- service.yaml
|
|
- metrics-service.yaml
|