Compare commits
6 Commits
f90aa61c8d
...
aa7cc320f9
| Author | SHA1 | Date | |
|---|---|---|---|
| aa7cc320f9 | |||
| 4183831d2f | |||
| ae6ed770a9 | |||
| 59d936d467 | |||
| 9b56ce5e4f | |||
| 2424ad440b |
2
Makefile
2
Makefile
@@ -3,7 +3,7 @@ install-router:
|
|||||||
|
|
||||||
gen-talos-config:
|
gen-talos-config:
|
||||||
mkdir -p talos/generated
|
mkdir -p talos/generated
|
||||||
talosctl gen config --with-secrets secrets.yaml --config-patch @talos/patches/controlplane.patch --config-patch @talos/patches/openebs.patch --config-patch @talos/patches/openbao.patch --config-patch @talos/patches/anapistula-delrosalae.patch --output-types controlplane -o talos/generated/anapistula-delrosalae.yaml homelab https://kube-api.homelab.lumpiasty.xyz:6443
|
talosctl gen config --with-secrets secrets.yaml --config-patch @talos/patches/controlplane.patch --config-patch @talos/patches/openebs.patch --config-patch @talos/patches/openbao.patch --config-patch @talos/patches/ollama.patch --config-patch @talos/patches/frigate.patch --config-patch @talos/patches/anapistula-delrosalae.patch --output-types controlplane -o talos/generated/anapistula-delrosalae.yaml homelab https://kube-api.homelab.lumpiasty.xyz:6443
|
||||||
talosctl gen config --with-secrets secrets.yaml --config-patch @talos/patches/controlplane.patch --output-types worker -o talos/generated/worker.yaml homelab https://kube-api.homelab.lumpiasty.xyz:6443
|
talosctl gen config --with-secrets secrets.yaml --config-patch @talos/patches/controlplane.patch --output-types worker -o talos/generated/worker.yaml homelab https://kube-api.homelab.lumpiasty.xyz:6443
|
||||||
talosctl gen config --with-secrets secrets.yaml --output-types talosconfig -o talos/generated/talosconfig homelab https://kube-api.homelab.lumpiasty.xyz:6443
|
talosctl gen config --with-secrets secrets.yaml --output-types talosconfig -o talos/generated/talosconfig homelab https://kube-api.homelab.lumpiasty.xyz:6443
|
||||||
talosctl config endpoint kube-api.homelab.lumpiasty.xyz
|
talosctl config endpoint kube-api.homelab.lumpiasty.xyz
|
||||||
|
|||||||
@@ -51,6 +51,8 @@ spec:
|
|||||||
- audio
|
- audio
|
||||||
- detect
|
- detect
|
||||||
- record
|
- record
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic-audio-copy
|
||||||
garaz:
|
garaz:
|
||||||
enabled: True
|
enabled: True
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
@@ -60,6 +62,23 @@ spec:
|
|||||||
- audio
|
- audio
|
||||||
- detect
|
- detect
|
||||||
- record
|
- record
|
||||||
|
output_args:
|
||||||
|
record: preset-record-generic-audio-copy
|
||||||
|
|
||||||
|
ffmpeg:
|
||||||
|
hwaccel_args: preset-vaapi
|
||||||
|
|
||||||
|
detectors:
|
||||||
|
ov_0:
|
||||||
|
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
|
||||||
|
|
||||||
go2rtc:
|
go2rtc:
|
||||||
streams:
|
streams:
|
||||||
@@ -73,12 +92,12 @@ spec:
|
|||||||
persistence:
|
persistence:
|
||||||
media:
|
media:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 100Gi
|
size: 500Gi
|
||||||
storageClass: mayastor-single-hdd
|
storageClass: mayastor-single-hdd
|
||||||
skipuninstall: true
|
skipuninstall: true
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 100Mi
|
size: 1Gi
|
||||||
storageClass: mayastor-single-hdd
|
storageClass: mayastor-single-hdd
|
||||||
skipuninstall: true
|
skipuninstall: true
|
||||||
envFromSecrets:
|
envFromSecrets:
|
||||||
@@ -98,3 +117,21 @@ spec:
|
|||||||
- hosts:
|
- hosts:
|
||||||
- frigate.lumpiasty.xyz
|
- frigate.lumpiasty.xyz
|
||||||
secretName: frigate-ingress
|
secretName: frigate-ingress
|
||||||
|
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: anapistula-delrosalae
|
||||||
|
|
||||||
|
# GPU access
|
||||||
|
extraVolumes:
|
||||||
|
- name: dri
|
||||||
|
hostPath:
|
||||||
|
path: /dev/dri/renderD128
|
||||||
|
type: CharDevice
|
||||||
|
|
||||||
|
extraVolumeMounts:
|
||||||
|
- name: dri
|
||||||
|
mountPath: /dev/dri/renderD128
|
||||||
|
|
||||||
|
securityContext:
|
||||||
|
# Not ideal
|
||||||
|
privileged: true
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ spec:
|
|||||||
- name: renovate
|
- name: renovate
|
||||||
# Update this to the latest available and then enable Renovate on
|
# Update this to the latest available and then enable Renovate on
|
||||||
# the manifest
|
# the manifest
|
||||||
image: renovate/renovate:41.17.2-full
|
image: renovate/renovate:41.18.0-full
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: renovate-gitea-token
|
name: renovate-gitea-token
|
||||||
|
|||||||
@@ -16,3 +16,5 @@ parameters:
|
|||||||
poolAffinityTopologyLabel: |
|
poolAffinityTopologyLabel: |
|
||||||
type: hdd
|
type: hdd
|
||||||
provisioner: io.openebs.csi-mayastor
|
provisioner: io.openebs.csi-mayastor
|
||||||
|
# Allow expansion of volumes
|
||||||
|
allowVolumeExpansion: true
|
||||||
|
|||||||
11
talos/patches/frigate.patch
Normal file
11
talos/patches/frigate.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# CSI driver requirement
|
||||||
|
cluster:
|
||||||
|
apiServer:
|
||||||
|
admissionControl:
|
||||||
|
- name: PodSecurity
|
||||||
|
configuration:
|
||||||
|
apiVersion: pod-security.admission.config.k8s.io/v1beta1
|
||||||
|
kind: PodSecurityConfiguration
|
||||||
|
exemptions:
|
||||||
|
namespaces:
|
||||||
|
- frigate
|
||||||
Reference in New Issue
Block a user