mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-09 00:14:30 +08:00
初始化3.0.0版本
This commit is contained in:
16
km-dist/helm/templates/servicemonitors.yaml
Normal file
16
km-dist/helm/templates/servicemonitors.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
{{ if .Values.servicemonitor.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ include "knowstreaming-manager.fullname" . }}
|
||||
labels:
|
||||
{{- include "knowstreaming-manager.labels" . | nindent 4 }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: http
|
||||
scheme: http
|
||||
path: /metrics/prometheus
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "knowstreaming-manager.selectorLabels" . | nindent 4 }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user