Files
Olares/frameworks/GPU/config/gpu/hami/templates/webui/service.yaml
eball ffce1b6039 olares: hami monitoring api for dashboard (#1192)
* feat: hami monitoring api for dashboard

* fix: values bug

---------

Co-authored-by: liuyu <>
2025-04-09 23:17:38 +08:00

22 lines
608 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "hami-webui.fullname" . }}
namespace: {{ include "hami-webui.namespace" . }}
labels:
{{- include "hami-webui.labels" . | nindent 4 }}
app.kubernetes.io/component: "hami-webui"
spec:
type: {{ .Values.webui.service.type }}
ports:
- port: {{ .Values.webui.service.port }}
targetPort: http
protocol: TCP
name: http
- port: 8000
targetPort: metrics
protocol: TCP
name: metrics
selector:
{{- include "hami-webui.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: "hami-webui"