mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-14 02:53:50 +00:00
15 lines
342 B
YAML
15 lines
342 B
YAML
{{- if .Values.metrics.enabled }}
|
|
---
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: PodMonitor
|
|
metadata:
|
|
name: {{ include "bbgo.fullname" . }}
|
|
labels:
|
|
{{- include "bbgo.labels" . | nindent 4 }}
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
{{- include "bbgo.selectorLabels" . | nindent 6 }}
|
|
podMetricsEndpoints:
|
|
- port: metrics
|
|
{{- end }} |