@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.prometheus.service_monitor.apiserver }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -76,3 +77,5 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
component: apiserver
|
component: apiserver
|
||||||
provider: kubernetes
|
provider: kubernetes
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.prometheus.service_monitor.cadvisor }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -50,3 +51,5 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: kubelet
|
app.kubernetes.io/name: kubelet
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.prometheus.service_monitor.coredns }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -26,3 +27,5 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
k8s-app: kube-dns
|
k8s-app: kube-dns
|
||||||
|
|
||||||
|
{{ end }}
|
@ -34,3 +34,4 @@ spec:
|
|||||||
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.prometheus.service_monitor.kubelet }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -85,3 +86,5 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: kubelet
|
app.kubernetes.io/name: kubelet
|
||||||
|
|
||||||
|
{{ end }}
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.grafana_agent.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -75,3 +76,5 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
{{ toYaml $.Values.nfc_monitoring.grafana_agent.labels | nindent 6 }}
|
{{ toYaml $.Values.nfc_monitoring.grafana_agent.labels | nindent 6 }}
|
||||||
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.prometheus.service_monitor.kube_controller_manager }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -80,3 +81,5 @@ spec:
|
|||||||
app.kubernetes.io/instance: k8s
|
app.kubernetes.io/instance: k8s
|
||||||
app.kubernetes.io/name: kube-monitor-proxy
|
app.kubernetes.io/name: kube-monitor-proxy
|
||||||
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
||||||
|
|
||||||
|
{{ end }}
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.prometheus.service_monitor.kube_scheduler }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -34,3 +35,5 @@ spec:
|
|||||||
app.kubernetes.io/instance: k8s
|
app.kubernetes.io/instance: k8s
|
||||||
app.kubernetes.io/name: kube-monitor-proxy
|
app.kubernetes.io/name: kube-monitor-proxy
|
||||||
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
||||||
|
|
||||||
|
{{ end }}
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.kube_state_metrics.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -44,3 +45,5 @@ spec:
|
|||||||
app.kubernetes.io/instance: k8s
|
app.kubernetes.io/instance: k8s
|
||||||
app.kubernetes.io/name: kube-state-metrics
|
app.kubernetes.io/name: kube-state-metrics
|
||||||
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.grafana_agent.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -40,3 +41,5 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
{{ toYaml $.Values.nfc_monitoring.grafana_agent.labels | nindent 6 }}
|
{{ toYaml $.Values.nfc_monitoring.grafana_agent.labels | nindent 6 }}
|
||||||
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.prometheus_adaptor.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -33,3 +34,5 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
{{ toYaml $.Values.nfc_monitoring.prometheus_adaptor.labels | nindent 6 }}
|
{{ toYaml $.Values.nfc_monitoring.prometheus_adaptor.labels | nindent 6 }}
|
||||||
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.prometheus.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .Values.nfc_monitoring.alert_manager.enabled -}}
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
@ -38,3 +39,5 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
{{ toYaml $.Values.nfc_monitoring.alert_manager.labels | nindent 6 }}
|
{{ toYaml $.Values.nfc_monitoring.alert_manager.labels | nindent 6 }}
|
||||||
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
app.kubernetes.io/part-of: {{ $.Chart.Name }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
@ -12,6 +12,8 @@ nfc_monitoring:
|
|||||||
|
|
||||||
|
|
||||||
alert_manager:
|
alert_manager:
|
||||||
|
|
||||||
|
enabled: true
|
||||||
image:
|
image:
|
||||||
name: quay.io/prometheus/alertmanager
|
name: quay.io/prometheus/alertmanager
|
||||||
tag: 'v0.26.0'
|
tag: 'v0.26.0'
|
||||||
@ -200,6 +202,9 @@ nfc_monitoring:
|
|||||||
|
|
||||||
|
|
||||||
grafana_agent:
|
grafana_agent:
|
||||||
|
|
||||||
|
enabled: true
|
||||||
|
|
||||||
image:
|
image:
|
||||||
name: grafana/agent
|
name: grafana/agent
|
||||||
tag: 'v0.36.1'
|
tag: 'v0.36.1'
|
||||||
@ -247,6 +252,8 @@ nfc_monitoring:
|
|||||||
|
|
||||||
|
|
||||||
kube_state_metrics:
|
kube_state_metrics:
|
||||||
|
|
||||||
|
enabled: false
|
||||||
image:
|
image:
|
||||||
name: registry.k8s.io/kube-state-metrics/kube-state-metrics
|
name: registry.k8s.io/kube-state-metrics/kube-state-metrics
|
||||||
tag: 'v2.8.1'
|
tag: 'v2.8.1'
|
||||||
@ -383,6 +390,8 @@ nfc_monitoring:
|
|||||||
|
|
||||||
prometheus_adaptor:
|
prometheus_adaptor:
|
||||||
|
|
||||||
|
enalbed: false
|
||||||
|
|
||||||
image:
|
image:
|
||||||
name: registry.k8s.io/prometheus-adapter/prometheus-adapter
|
name: registry.k8s.io/prometheus-adapter/prometheus-adapter
|
||||||
tag: 'v0.11.1'
|
tag: 'v0.11.1'
|
||||||
|
Reference in New Issue
Block a user