This commit is contained in:
Ariel Sosnovsky committed 2023-10-17 17:02:37 -04:00
1 parent b22744db0b
commit 0fdb311ebe
8 files changed
+136 -5

No files matched your search

+2 -5
View File
@@ -1,7 +1,4 @@
reverseProxy:
yellow:
castle:
ip: "192.168.0.23"
port: "8123"
uptime:
ip: "192.168.0.20"
port: "3001"
port: "80"
+7
View File
@@ -0,0 +1,7 @@
apiVersion: v2
name: motioneye
description: An apps service for homelab
type: application
version: 0.1.0
appVersion: "edge"
dependencies: []
@@ -0,0 +1,65 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ .Release.Name }}"
spec:
replicas: 1
revisionHistoryLimit: 3
strategy:
type: RollingUpdate
selector:
matchLabels:
{{ .Release.Name }}/app: scrypted
template:
metadata:
labels:
{{ .Release.Name }}/app: scrypted
spec:
volumes:
{{- if .Values.persistence.media_path.enabled }}
- name: media-path
persistentVolumeClaim:
claimName: {{ .Values.persistence.media_path.claimName }}
{{- end }}
containers:
- name: main
imagePullPolicy: "IfNotPresent"
securityContext:
privileged: true
image: "{{ .Values.image }}:{{ .Values.tag | default .Chart.AppVersion }}"
resources:
{{- .Values.resources | toYaml | nindent 14}}
livenessProbe:
httpGet:
path: /
port: http
scheme: HTTP
initialDelaySeconds: 10
failureThreshold: 10
timeoutSeconds: 30
readinessProbe:
httpGet:
path: /
port: http
scheme: HTTP
initialDelaySeconds: 10
failureThreshold: 10
timeoutSeconds: 30
startupProbe:
httpGet:
path: /
port: http
scheme: HTTP
failureThreshold: 60
periodSeconds: 15
env:
- name: SCRYPTED_NVR_VOLUME
value: /media/nvr
ports:
- containerPort: 10443
name: http
volumeMounts:
{{- if .Values.persistence.media_path.enabled }}
- name: media-path
mountPath: /media/nvr
{{ end }}
+30
View File
@@ -0,0 +1,30 @@
# ---
# kind: Service
# apiVersion: v1
# metadata:
# name: {{ .Release.Name }}-nodeport
# spec:
# selector:
# {{ .Release.Name }}/app: scrypted
# type: NodePort
# ports:
# - 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
+14
View File
@@ -0,0 +1,14 @@
---
kind: Service
apiVersion: v1
metadata:
name: {{ .Release.Name }}
spec:
selector:
{{ .Release.Name }}/app: scrypted
type: ClusterIP
ports:
- port: 80
targetPort: 10443
name: http
protocol: TCP
View File
Whitespace-only changes.
View File
Whitespace-only changes.
+18
View File
@@ -0,0 +1,18 @@
image: "koush/scrypted"
tag: "latest"
persistence:
media_path:
enabled: false
claimName: ""
conf_path:
enabled: false
claimName: ""
resources:
requests:
memory: "128Mi"
cpu: "500m"
limits:
memory: "1Gi"
cpu: "2"