aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/collectd-helm/templates/service.yaml
blob: 6ae6f09855f14cd3d703bb65a2f3f831bae98720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
apiVersion: v1
kind: Service
metadata:
  name: collectd-prometheus-metrics-endpoint
  labels:
    app: collectd
    collector: collectd
spec:
  ports:
  - name: collectd-prometheus
    port: {{ .Values.prometheus_port }}
    targetPort: collectd
  selector:
    app: {{ template "name" . }}
    collector: collectd
    release: {{ .Release.Name }}
  type: ClusterIP