mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-15 02:40:23 +00:00
26 lines
650 B
YAML
26 lines
650 B
YAML
|
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
|