From 5ab6cb3df3895d868a21af95b024f5b570cc6623 Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Tue, 7 Nov 2023 16:02:54 -0500 Subject: [PATCH] correct names --- .../templates/{nodeport.yaml => lb.yaml} | 1 - .../templates/{loadbalancer.yaml => np.yaml} | 32 +------------------ 2 files changed, 1 insertion(+), 32 deletions(-) rename k8s/apps/frigate/templates/{nodeport.yaml => lb.yaml} (95%) rename k8s/apps/frigate/templates/{loadbalancer.yaml => np.yaml} (54%) diff --git a/k8s/apps/frigate/templates/nodeport.yaml b/k8s/apps/frigate/templates/lb.yaml similarity index 95% rename from k8s/apps/frigate/templates/nodeport.yaml rename to k8s/apps/frigate/templates/lb.yaml index 996a1e8..8ddd4c2 100644 --- a/k8s/apps/frigate/templates/nodeport.yaml +++ b/k8s/apps/frigate/templates/lb.yaml @@ -18,7 +18,6 @@ spec: protocol: TCP - port: 8555 targetPort: 8555 - nodePort: 31055 name: webrtc-udp protocol: UDP - port: 1984 diff --git a/k8s/apps/frigate/templates/loadbalancer.yaml b/k8s/apps/frigate/templates/np.yaml similarity index 54% rename from k8s/apps/frigate/templates/loadbalancer.yaml rename to k8s/apps/frigate/templates/np.yaml index 060bc7e..8ccac10 100644 --- a/k8s/apps/frigate/templates/loadbalancer.yaml +++ b/k8s/apps/frigate/templates/np.yaml @@ -32,34 +32,4 @@ spec: 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 + protocol: UDP \ No newline at end of file