mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-11 10:17:28 +00:00
- Automate kube-prometheus-stack helm release upgrades for the v35.x range - Remove deprecated Grafana settings - Set Prometheus retention to 24h - Label Flux dashboards and PodMonitors with `app.kubernetes.io/component: monitoring` - Change the `podMonitorSelector` to match the label `app.kubernetes.io/component: monitoring` Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
25 lines
601 B
YAML
25 lines
601 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: PodMonitor
|
|
metadata:
|
|
name: flux-system
|
|
namespace: flux-system
|
|
labels:
|
|
app.kubernetes.io/part-of: flux
|
|
app.kubernetes.io/component: monitoring
|
|
spec:
|
|
namespaceSelector:
|
|
matchNames:
|
|
- flux-system
|
|
selector:
|
|
matchExpressions:
|
|
- key: app
|
|
operator: In
|
|
values:
|
|
- helm-controller
|
|
- source-controller
|
|
- kustomize-controller
|
|
- notification-controller
|
|
- image-automation-controller
|
|
- image-reflector-controller
|
|
podMetricsEndpoints:
|
|
- port: http-prom
|