Compare commits
9 Commits
feature/ed
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c0087dd27d | |||
| 0bda2327a1 | |||
| eb1a666471 | |||
| 92cb69a666 | |||
| d67cac1a9a | |||
|
|
cad3eb24cf | ||
| 3669715137 | |||
| a6a1386d10 | |||
|
|
4bd41ccf77 |
@@ -19,7 +19,7 @@ spec:
|
|||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
containers:
|
containers:
|
||||||
- name: immich-machine-learning
|
- name: immich-machine-learning
|
||||||
image: ghcr.io/immich-app/immich-machine-learning:v2.1.0 # {"$imagepolicy": "immich:immich-machine-learning"}
|
image: ghcr.io/immich-app/immich-machine-learning:v2.1.0-openvino # {"$imagepolicy": "immich:immich-machine-learning"}
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
imageRepositoryRef:
|
imageRepositoryRef:
|
||||||
name: immich-machine-learning
|
name: immich-machine-learning
|
||||||
policy:
|
|
||||||
# https://github.com/immich-app/immich/releases
|
# https://github.com/immich-app/immich/releases
|
||||||
semver:
|
|
||||||
range: '2.*.*'
|
|
||||||
filterTags:
|
filterTags:
|
||||||
pattern: 'v.*'
|
pattern: '.*-openvino'
|
||||||
|
policy:
|
||||||
|
semver:
|
||||||
|
range: '2.x-0'
|
||||||
|
|||||||
@@ -8,10 +8,3 @@ spec:
|
|||||||
# https://github.com/immich-app/immich/pkgs/container/immich-machine-learning
|
# https://github.com/immich-app/immich/pkgs/container/immich-machine-learning
|
||||||
image: ghcr.io/immich-app/immich-machine-learning
|
image: ghcr.io/immich-app/immich-machine-learning
|
||||||
interval: 24h
|
interval: 24h
|
||||||
exclusionList:
|
|
||||||
- .*openvino
|
|
||||||
- .*cuda
|
|
||||||
- .*armnn
|
|
||||||
- pr*
|
|
||||||
- main
|
|
||||||
- main*
|
|
||||||
|
|||||||
@@ -0,0 +1,62 @@
|
|||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: csi-driver-nfs
|
||||||
|
namespace: kube-system
|
||||||
|
labels:
|
||||||
|
app: csi-driver-nfs
|
||||||
|
spec:
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
# https://artifacthub.io/packages/helm/csi-driver-nfs/csi-driver-nfs/4.12.1
|
||||||
|
chart: csi-driver-nfs
|
||||||
|
reconcileStrategy: ChartVersion
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: csi-driver-nfs
|
||||||
|
namespace: kube-system
|
||||||
|
version: '4.12.1' # fixed version because storage is important
|
||||||
|
interval: 24h
|
||||||
|
timeout: 10m
|
||||||
|
suspend: false
|
||||||
|
values:
|
||||||
|
# https://github.com/kubernetes-csi/csi-driver-nfs/tree/master/charts#latest-chart-configuration
|
||||||
|
# https://github.com/kubernetes-csi/csi-driver-nfs/blob/v4.12.1/charts/v4.12.1/csi-driver-nfs/values.yaml
|
||||||
|
|
||||||
|
controller:
|
||||||
|
resources:
|
||||||
|
csiProvisioner:
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 20Mi
|
||||||
|
|
||||||
|
csiResizer:
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 20Mi
|
||||||
|
|
||||||
|
csiSnapshotter:
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 200Mi
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 20Mi
|
||||||
|
|
||||||
|
nfs:
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 20Mi
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: csi-driver-nfs
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
interval: 24h
|
||||||
|
url: https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: k8s-nfs-hdd
|
||||||
|
provisioner: nfs.csi.k8s.io
|
||||||
|
parameters:
|
||||||
|
server: unraid.example.internal
|
||||||
|
share: /mnt/user/k8s-nfs-hdd/
|
||||||
|
subDir: ${pvc.metadata.namespace}/${pvc.metadata.name}/
|
||||||
|
reclaimPolicy: Delete
|
||||||
|
volumeBindingMode: Immediate
|
||||||
|
allowVolumeExpansion: true
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: k8s-nfs-ssd
|
||||||
|
provisioner: nfs.csi.k8s.io
|
||||||
|
parameters:
|
||||||
|
server: unraid.example.internal
|
||||||
|
share: /mnt/user/k8s-nfs-ssd/
|
||||||
|
subDir: ${pvc.metadata.namespace}/${pvc.metadata.name}/
|
||||||
|
reclaimPolicy: Delete
|
||||||
|
volumeBindingMode: Immediate
|
||||||
|
allowVolumeExpansion: true
|
||||||
Reference in New Issue
Block a user