kind: Service apiVersion: v1 metadata: name: {{ include "ceph-csi-rbd.nodeplugin.fullname" . }} namespace: {{ .Release.Namespace }} labels: app: csi-metrics chart: {{ include "ceph-csi-rbd.chart" . }} component: {{ .Values.nodeplugin.name }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: selector: app: {{ include "ceph-csi-rbd.name" . }} component: {{ .Values.nodeplugin.name }} release: {{ .Release.Name }} ports: - name: http-metrics port: 8080 protocol: TCP targetPort: 8080 - name: grpc-metrics port: 8090 protocol: TCP targetPort: 8090