summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/collectd-helm/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/collectd-helm/templates/service.yaml')
-rw-r--r--vnfs/DAaaS/collectd-helm/templates/service.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/vnfs/DAaaS/collectd-helm/templates/service.yaml b/vnfs/DAaaS/collectd-helm/templates/service.yaml
new file mode 100644
index 00000000..6ae6f098
--- /dev/null
+++ b/vnfs/DAaaS/collectd-helm/templates/service.yaml
@@ -0,0 +1,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