mirror of
https://github.com/valitydev/helmsdeep.git
synced 2024-11-06 08:55:21 +00:00
Global values for metrics (#208)
Co-authored-by: Dmitry Skokov <d.skokov@rbkmoney.com>
This commit is contained in:
parent
14e670d928
commit
4499bf2f62
@ -84,7 +84,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -71,7 +71,7 @@ service:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -23,7 +23,7 @@ configMap:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -71,7 +71,7 @@ service:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -21,7 +21,7 @@ configMap:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -23,7 +23,7 @@ configMap:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -84,7 +84,7 @@ service:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -84,7 +84,7 @@ service:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -84,7 +84,7 @@ service:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -55,7 +55,7 @@ volumes:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -79,7 +79,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -61,7 +61,7 @@ readinessProbe:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -108,7 +108,7 @@ readinessProbe:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -93,7 +93,7 @@ ingress:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -44,7 +44,7 @@ hook:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -78,7 +78,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -80,7 +80,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -65,7 +65,7 @@ readinessProbe:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -23,7 +23,7 @@ configMap:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -77,7 +77,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -91,7 +91,7 @@ pvc:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -23,7 +23,7 @@ configMap:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -41,7 +41,7 @@ volumeMounts:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -77,7 +77,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -107,7 +107,7 @@ ingress:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -124,7 +124,7 @@ readinessProbe:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -23,7 +23,7 @@ configMap:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -88,7 +88,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -63,7 +63,7 @@ readinessProbe:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -80,7 +80,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -73,7 +73,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -79,7 +79,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -74,7 +74,7 @@ volumes:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -53,7 +53,7 @@ volumes:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -62,7 +62,7 @@ readinessProbe:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -77,7 +77,7 @@ podAnnotations:
|
|||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: {{ .Values.services.global.metrics.enabled }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
additionalLabels:
|
additionalLabels:
|
||||||
release: prometheus
|
release: prometheus
|
||||||
|
@ -26,6 +26,9 @@ services:
|
|||||||
global:
|
global:
|
||||||
# Set to "true" if your cluster CIDR only ipv6 family
|
# Set to "true" if your cluster CIDR only ipv6 family
|
||||||
ipv6only: false
|
ipv6only: false
|
||||||
|
# Deploy ServiceMonitors with processing services
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
# Set if use your own container registry for processing service's images
|
# Set if use your own container registry for processing service's images
|
||||||
registry:
|
registry:
|
||||||
repository: docker.io
|
repository: docker.io
|
||||||
|
Loading…
Reference in New Issue
Block a user