infra4talos/apps-helm/hyperion/templates/svc.yaml

32 lines
651 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app: hyperion
{{- include "hyperion.labels" . | nindent 4 }}
annotations:
{{- .Values.service.annotations | toYaml | nindent 4 }}
name: hyperion
namespace: hyperion
spec:
internalTrafficPolicy: Cluster
ports:
- name: web
nodePort: 30419
port: 80
targetPort: 8090
- name: json
nodePort: 31201
port: 19444
- name: flatbuffers
nodePort: 31448
port: 19400
- name: protobuf
nodePort: 32039
port: 19445
selector:
app: hyperion
app.kubernetes.io/instance: hyperion
app.kubernetes.io/name: hyperion
type: {{ .Values.service.type }}