seperate deploy
This commit is contained in:
1 parent
15fbb3f26f
commit
4aa6015fa4
2 files changed
+58
-11
No files matched your search
@@ -61,14 +61,14 @@ spec:
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
name: http
|
||||
# - containerPort: 8554
|
||||
# name: rtsp
|
||||
# - containerPort: 8555
|
||||
# name: webrtc-tcp
|
||||
# protocol: TCP
|
||||
# - containerPort: 8555
|
||||
# name: webrtc-udp
|
||||
# protocol: UDP
|
||||
- containerPort: 8554
|
||||
name: rtsp
|
||||
- containerPort: 8555
|
||||
name: webrtc-tcp
|
||||
protocol: TCP
|
||||
- containerPort: 8555
|
||||
name: webrtc-udp
|
||||
protocol: UDP
|
||||
volumeMounts:
|
||||
{{- if .Values.persistence.media_path.enabled }}
|
||||
- name: media-path
|
||||
@@ -79,6 +79,31 @@ spec:
|
||||
mountPath: /config
|
||||
subPath: frigate
|
||||
{{ end }}
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: "go2rtc"
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
homelab/app: go2rtc
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
homelab/app: go2rtc
|
||||
spec:
|
||||
volumes:
|
||||
{{- if .Values.persistence.conf_path.enabled }}
|
||||
- name: conf-path
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.conf_path.claimName }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: go2rtc
|
||||
imagePullPolicy: "Always"
|
||||
securityContext:
|
||||
@@ -111,7 +136,7 @@ spec:
|
||||
periodSeconds: 15
|
||||
ports:
|
||||
- containerPort: 1984
|
||||
name: go2rtc
|
||||
name: http
|
||||
- containerPort: 8554
|
||||
name: rtsp
|
||||
- containerPort: 8555
|
||||
|
||||
@@ -24,7 +24,29 @@ spec:
|
||||
targetPort: 8555
|
||||
name: webrtc-udp
|
||||
protocol: UDP
|
||||
- port: 1984
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: frigate
|
||||
spec:
|
||||
selector:
|
||||
homelab/app: frigate
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- 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
|
||||
- port: 80
|
||||
targetPort: 1984
|
||||
name: go2rtc
|
||||
name: http
|
||||
protocol: TCP
|
||||
Reference in new issue
Block a user