blob: b4231af3ecece88b3a4a123f407307456d4b9619 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
apiVersion: v1
kind: Service
metadata:
name: collectd-prometheus-metrics-endpoint
labels:
app: collectd
collector: collectd
spec:
ports:
- name: collectd-prometheus
port: {{ .Values.collectd_prometheus.service.port }}
protocol: TCP
targetPort: {{ .Values.collectd_prometheus.service.targetPort }}
selector:
{{ include "rangeskipempty" .Values.collectd_prometheus.service.selector | indent 4 }}
type: ClusterIP
|