GPU-Live/k8s-ephemeral-storage-metrics/templates/localDebugService.yaml

37 lines
756 B
YAML

{{ if .Values.dev.enabled }}
apiVersion: v1
kind: Service
metadata:
name: debug
labels:
{{- include "chart.labels" . | nindent 4 }}
app.kubernetes.io/name: k8s-ephemeral-storage-metrics-debug
spec:
type: ClusterIP
selector:
{{- include "chart.selectorLabels" . | nindent 4 }}
ports:
- protocol: TCP
port: 30002
targetPort: debug
name: debug
---
apiVersion: v1
kind: Service
metadata:
name: pprof
labels:
{{- include "chart.labels" . | nindent 4 }}
app.kubernetes.io/name: k8s-ephemeral-storage-metrics-debug
spec:
type: ClusterIP
selector:
{{- include "chart.selectorLabels" . | nindent 4 }}
ports:
- protocol: TCP
port: 6060
targetPort: pprof
name: pprof
{{ end }}