redeploy (and update) frigate
longhorn is stuck in a loop attaching/detacching its storage
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
```
|
||||
helm repo add blakeblackshear https://blakeblackshear.github.io/blakeshome-charts/
|
||||
helm template -n frigate --release-name frigate blakeblackshear/frigate --include-crds -f values.yaml > application.yml
|
||||
```
|
||||
kubectl apply -n frigate -f application.yml -f auth.yml -f rabbitmq.yml -f storage-class.yml -f storage.yml -f transcode.yml
|
||||
```
|
||||
|
@@ -7,7 +7,7 @@ metadata:
|
||||
namespace: frigate
|
||||
labels:
|
||||
app.kubernetes.io/name: frigate
|
||||
helm.sh/chart: frigate-7.6.0
|
||||
helm.sh/chart: frigate-7.8.0
|
||||
app.kubernetes.io/instance: frigate
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
data:
|
||||
@@ -25,6 +25,19 @@ data:
|
||||
coral:
|
||||
type: edgetpu
|
||||
device: usb
|
||||
#cpu1:
|
||||
#type: cpu
|
||||
#ov:
|
||||
# type: openvino
|
||||
# device: CPU
|
||||
|
||||
model:
|
||||
width: 300
|
||||
height: 300
|
||||
input_tensor: nhwc
|
||||
input_pixel_format: bgr
|
||||
path: /openvino-model/ssdlite_mobilenet_v2.xml
|
||||
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
|
||||
|
||||
record:
|
||||
enabled: True
|
||||
@@ -77,7 +90,7 @@ metadata:
|
||||
name: frigate-config
|
||||
labels:
|
||||
app.kubernetes.io/name: frigate
|
||||
helm.sh/chart: frigate-7.6.0
|
||||
helm.sh/chart: frigate-7.8.0
|
||||
app.kubernetes.io/instance: frigate
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
@@ -95,9 +108,9 @@ metadata:
|
||||
name: frigate
|
||||
labels:
|
||||
app.kubernetes.io/name: frigate
|
||||
helm.sh/chart: frigate-7.6.0
|
||||
helm.sh/chart: frigate-7.8.0
|
||||
app.kubernetes.io/instance: frigate
|
||||
app.kubernetes.io/version: "0.14.0"
|
||||
app.kubernetes.io/version: "0.14.1"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
type: ClusterIP
|
||||
@@ -122,6 +135,14 @@ spec:
|
||||
protocol: TCP
|
||||
targetPort: rtsp
|
||||
|
||||
- name: webrtc-tcp
|
||||
port: 8555
|
||||
protocol: TCP
|
||||
targetPort: webrtc-tcp
|
||||
- name: webrtc-udp
|
||||
port: 8555
|
||||
protocol: UDP
|
||||
targetPort: webrtc-udp
|
||||
selector:
|
||||
app.kubernetes.io/name: frigate
|
||||
app.kubernetes.io/instance: frigate
|
||||
@@ -133,9 +154,9 @@ metadata:
|
||||
name: frigate
|
||||
labels:
|
||||
app.kubernetes.io/name: frigate
|
||||
helm.sh/chart: frigate-7.6.0
|
||||
helm.sh/chart: frigate-7.8.0
|
||||
app.kubernetes.io/instance: frigate
|
||||
app.kubernetes.io/version: "0.14.0"
|
||||
app.kubernetes.io/version: "0.14.1"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
replicas: 1
|
||||
@@ -152,28 +173,31 @@ spec:
|
||||
app.kubernetes.io/name: frigate
|
||||
app.kubernetes.io/instance: frigate
|
||||
annotations:
|
||||
checksum/configmap: e87f827cda067d3ff35d52fb3cef3286e9670da77c9b83a5518b35f14f6aaa19
|
||||
checksum/configmap: c03d767c7ef736f9d27d13a90ca868c5d4666b6e3e37b73b3e3b74be088dfff2
|
||||
spec:
|
||||
nodeSelector:
|
||||
dedicated: nvr
|
||||
tolerations:
|
||||
- key: dedicated
|
||||
operator: Equal
|
||||
value: nvr
|
||||
effect: NoSchedule
|
||||
initContainers:
|
||||
- name: copyconfig
|
||||
image: "ghcr.io/blakeblackshear/frigate:0.14.1"
|
||||
imagePullPolicy: IfNotPresent
|
||||
volumeMounts:
|
||||
- mountPath: /config.yml
|
||||
subPath: config.yml
|
||||
name: configmap
|
||||
- mountPath: /config
|
||||
name: config
|
||||
command: [ "cp" ]
|
||||
args: [ "-v", "/config.yml", "/config/config.yml" ]
|
||||
containers:
|
||||
- name: frigate
|
||||
image: "ghcr.io/blakeblackshear/frigate:0.14.0"
|
||||
image: "ghcr.io/blakeblackshear/frigate:0.14.1"
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["SYS_RAWIO"]
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 5000
|
||||
protocol: TCP
|
||||
- name: http-auth
|
||||
- name: http-auth
|
||||
containerPort: 8971
|
||||
protocol: TCP
|
||||
- name: rtmp
|
||||
@@ -182,6 +206,15 @@ spec:
|
||||
- name: rtsp
|
||||
containerPort: 8554
|
||||
protocol: TCP
|
||||
- name: webrtc-udp
|
||||
containerPort: 8555
|
||||
protocol: UDP
|
||||
- name: webrtc-tcp
|
||||
containerPort: 8555
|
||||
protocol: TCP
|
||||
- name: go2rtc-admin
|
||||
containerPort: 1984
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
@@ -207,9 +240,6 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /dev/bus/usb
|
||||
name: coral-dev
|
||||
- mountPath: /config/config.yml
|
||||
subPath: config.yml
|
||||
name: configmap
|
||||
- mountPath: /config
|
||||
name: config
|
||||
- mountPath: /data
|
||||
@@ -229,9 +259,6 @@ spec:
|
||||
- name: coral-dev
|
||||
hostPath:
|
||||
path: /dev/bus/usb
|
||||
- name: coral-dev
|
||||
hostPath:
|
||||
path: /dev/bus/usb
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: frigate-config
|
||||
@@ -256,9 +283,9 @@ metadata:
|
||||
name: frigate
|
||||
labels:
|
||||
app.kubernetes.io/name: frigate
|
||||
helm.sh/chart: frigate-7.6.0
|
||||
helm.sh/chart: frigate-7.8.0
|
||||
app.kubernetes.io/instance: frigate
|
||||
app.kubernetes.io/version: "0.14.0"
|
||||
app.kubernetes.io/version: "0.14.1"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
|
||||
|
Reference in New Issue
Block a user