apiVersion: v1
kind: Service
metadata:
  name: syncplay-proxy
  namespace: syncplay
  annotations:
    service.beta.kubernetes.io/do-loadbalancer-protocol: "tcp"
  labels:
    app.kubernetes.io/part-of: syncplay
spec:
  type: LoadBalancer
  externalTrafficPolicy: Local
  selector:
    app.kubernetes.io/part-of: syncplay
    app.kubernetes.io/component: proxy
  ports:
  - name: syncplay-proxy-tcp
    port: 8995
    targetPort: syncplay-tcp
    protocol: TCP
  - name: syncplay-proxy-ws
    port: 9995
    targetPort: syncplay-ws
    protocol: TCP
