18 lines
426 B
YAML
18 lines
426 B
YAML
{{- if .Values.istiod.telemetry.enabled }}
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: istio-component-monitor
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "kubezero-lib.labels" . | nindent 4 }}
|
|
spec:
|
|
jobLabel: istio
|
|
targetLabels: [app]
|
|
selector:
|
|
matchExpressions:
|
|
- {key: istio, operator: In, values: [pilot]}
|
|
endpoints:
|
|
- port: http-monitoring
|
|
{{- end }}
|