From cd9e881960310af3e2e4c887ae5773829cf58510 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Mon, 24 Apr 2023 01:45:46 +0000 Subject: [PATCH] node port --- k8s/apps/frigate/templates/nodeport.yaml | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 k8s/apps/frigate/templates/nodeport.yaml diff --git a/k8s/apps/frigate/templates/nodeport.yaml b/k8s/apps/frigate/templates/nodeport.yaml new file mode 100644 index 0000000..d8a7b8a --- /dev/null +++ b/k8s/apps/frigate/templates/nodeport.yaml @@ -0,0 +1,26 @@ +--- +kind: Service +apiVersion: v1 +metadata: + name: {{ .Release.Name }}-nodeport +spec: + selector: + {{ .Release.Name }}/app: frigate + type: NodePort + ports: + - port: 80 + targetPort: 5000 + name: http + protocol: TCP + - port: 8554 + targetPort: 8554 + name: rtsp + protocol: TCP + - port: 8555 + targetPort: 8555 + name: webrtc-tcp + protocol: TCP + - port: 8555 + targetPort: 8555 + name: webrtc-udp + protocol: UDP \ No newline at end of file