mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-09-19 06:18:28 +00:00
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: frigate
|
|
namespace: frigate
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: frigate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: frigate
|
|
spec:
|
|
containers:
|
|
- name: frigate
|
|
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
|
|
imagePullPolicy: Always
|
|
resources:
|
|
limits:
|
|
nvidia.com/gpu: 1
|
|
envFrom:
|
|
- secretRef:
|
|
name: frigate
|
|
ports:
|
|
- containerPort: 8971
|
|
protocol: TCP
|
|
name: http
|
|
- containerPort: 8554
|
|
protocol: TCP
|
|
name: rtsp
|
|
- containerPort: 8555
|
|
protocol: TCP
|
|
name: webrtc-tcp
|
|
- containerPort: 8555
|
|
protocol: UDP
|
|
name: webrtc-udp
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: frigate-config
|
|
- mountPath: /media/frigate
|
|
name: frigate-media
|
|
- mountPath: /tmp/cache
|
|
name: frigate-media
|
|
volumes:
|
|
- name: frigate-config
|
|
persistentVolumeClaim:
|
|
claimName: frigate-config
|
|
- name: frigate-media
|
|
persistentVolumeClaim:
|
|
claimName: frigate-media
|
|
- name: cache
|
|
emptyDir:
|
|
medium: Memory
|
|
sizeLimit: 1Gi
|