This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: #2259 Co-authored-by: gitea-bot <gitea-bot@alexlebens.net> Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
75 lines
2.0 KiB
YAML
75 lines
2.0 KiB
YAML
---
|
|
# Source: immich/charts/immich/templates/common.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: immich-machine-learning
|
|
labels:
|
|
app.kubernetes.io/controller: machine-learning
|
|
app.kubernetes.io/instance: immich
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: immich
|
|
helm.sh/chart: immich-4.4.0
|
|
namespace: immich
|
|
spec:
|
|
revisionHistoryLimit: 3
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/controller: machine-learning
|
|
app.kubernetes.io/name: immich
|
|
app.kubernetes.io/instance: immich
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/controller: machine-learning
|
|
app.kubernetes.io/instance: immich
|
|
app.kubernetes.io/name: immich
|
|
spec:
|
|
enableServiceLinks: false
|
|
serviceAccountName: default
|
|
automountServiceAccountToken: true
|
|
hostIPC: false
|
|
hostNetwork: false
|
|
hostPID: false
|
|
dnsPolicy: ClusterFirst
|
|
containers:
|
|
- env:
|
|
- name: TRANSFORMERS_CACHE
|
|
value: /cache
|
|
image: ghcr.io/immich-app/immich-machine-learning:v2.3.1
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /ping
|
|
port: 3003
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
name: main
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /ping
|
|
port: 3003
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
resources:
|
|
limits:
|
|
gpu.intel.com/i915: 1
|
|
requests:
|
|
cpu: 10m
|
|
gpu.intel.com/i915: 1
|
|
memory: 256Mi
|
|
volumeMounts:
|
|
- mountPath: /cache
|
|
name: cache
|
|
volumes:
|
|
- name: cache
|
|
persistentVolumeClaim:
|
|
claimName: immich
|