Update yamls for prom stack

This commit is contained in:
2024-01-25 23:33:05 +00:00
parent e8ab0382de
commit ed46799948
4 changed files with 20 additions and 30 deletions

View File

@@ -1,4 +1,7 @@
kube-state-metrics:
# For kube-prometheus-stacks that are already installed and configured with
# custom collectors, commenting out the collectors and extraArgs below will
# retain any existing kube-state-metrics configuration.
collectors: [ ]
extraArgs:
- --custom-resource-state-only=true
@@ -51,7 +54,7 @@ kube-state-metrics:
source_name: [ spec, sourceRef, name ]
- groupVersionKind:
group: helm.toolkit.fluxcd.io
version: v2beta1
version: v2beta2
kind: HelmRelease
metricNamePrefix: gotk
metrics:
@@ -168,7 +171,7 @@ kube-state-metrics:
url: [ spec, url ]
- groupVersionKind:
group: notification.toolkit.fluxcd.io
version: v1beta2
version: v1beta3
kind: Alert
metricNamePrefix: gotk
metrics:
@@ -181,11 +184,10 @@ kube-state-metrics:
name: [ metadata, name ]
labelsFromPath:
exported_namespace: [ metadata, namespace ]
ready: [ status, conditions, "[type=Ready]", status ]
suspended: [ spec, suspend ]
- groupVersionKind:
group: notification.toolkit.fluxcd.io
version: v1beta2
version: v1beta3
kind: Provider
metricNamePrefix: gotk
metrics:
@@ -198,7 +200,6 @@ kube-state-metrics:
name: [ metadata, name ]
labelsFromPath:
exported_namespace: [ metadata, namespace ]
ready: [ status, conditions, "[type=Ready]", status ]
suspended: [ spec, suspend ]
- groupVersionKind:
group: notification.toolkit.fluxcd.io
@@ -271,4 +272,4 @@ kube-state-metrics:
exported_namespace: [ metadata, namespace ]
ready: [ status, conditions, "[type=Ready]", status ]
suspended: [ spec, suspend ]
source_name: [ spec, sourceRef, name ]
source_name: [ spec, sourceRef, name ]