Files
public-k3s/cluster/apps/immich/immich-ml.yml
aggarwalakshun 083ad61920
All checks were successful
renovate / renovate (push) Successful in 6m50s
disable nvidia-gpu support from cluster
2025-10-12 03:06:30 +05:30

43 lines
972 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: immich-ml
namespace: default
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
app: immich-ml
template:
metadata:
labels:
app: immich-ml
spec:
containers:
- name: immich-machine-learning
image: ghcr.io/immich-app/immich-machine-learning:v2.0.1-openvino
ports:
- containerPort: 3003
env:
- name: REDIS_HOSTNAME
value: "immich-redis-service"
- name: NVIDIA_VISIBLE_DEVICES
value: "all"
- name: MACHINE_LEARNING_DEVICE_IDS
value: "0"
volumeMounts:
- name: model-cache
mountPath: /cache
resources:
requests:
gpu.intel.com/i915: "1"
limits:
gpu.intel.com/i915: "1"
volumes:
- name: model-cache
persistentVolumeClaim:
claimName: immich-cache-longhorn