Files
homelab/k8s/apps/frigate/templates/loadbalancer.yaml
T
2023-11-07 16:01:41 -05:00

66 lines
1.2 KiB
YAML

---
kind: Service
apiVersion: v1
metadata:
name: frigate-nodeport
spec:
selector:
homelab/app: frigate
type: NodePort
ports:
- port: 1984
nodePort: 30001
targetPort: 1984
name: go2rtc
protocol: TCP
- port: 5000
nodePort: 30000
targetPort: 5000
name: http
protocol: TCP
- port: 8554
nodePort: 30554
targetPort: 8554
name: rtsp
protocol: TCP
- port: 8555
nodePort: 30555
targetPort: 8555
name: webrtc-tcp
protocol: TCP
- port: 8555
nodePort: 30555
targetPort: 8555
name: webrtc-udp
protocol: UDP
---
kind: Service
apiVersion: v1
metadata:
name: go2rtc-nodeport
spec:
selector:
homelab/app: go2rtc
type: NodePort
ports:
- port: 8554
targetPort: 8554
nodePort: 31054
name: rtsp
protocol: TCP
- port: 8555
targetPort: 8555
nodePort: 31055
name: webrtc-tcp
protocol: TCP
- port: 8555
targetPort: 8555
nodePort: 31055
name: webrtc-udp
protocol: UDP
- port: 80
targetPort: 1984
nodePort: 31084
name: http
protocol: TCP