infra4talos/apps-kustomized/lms/service.yaml

34 lines
667 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: logitech-media-server
annotations:
external-dns.alpha.kubernetes.io/hostname: lms.martyn.berlin
name: lms
spec:
ports:
- port: 80
targetPort: 9000
name: web
- port: 9000
targetPort: 9000
name: alsoweb
- port: 3483
targetPort: 3483
name: sumthing
- port: 9090
targetPort: 9090
name: api
- name: discovery
port: 3483
protocol: UDP
targetPort: discovery
- name: spottydiscovery
port: 5353
protocol: UDP
targetPort: 5353
selector:
app.kubernetes.io/name: logitech-media-server
type: LoadBalancer