Skip to content

Commit

Permalink
feat: add startup probe for machine learning (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
samholton authored Dec 10, 2024
1 parent 9b52928 commit 47d5661
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
10 changes: 3 additions & 7 deletions charts/immich/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: A chart to power Immich (immich.app) running on kubernetes
name: immich
version: 0.8.4
version: 0.8.5
appVersion: v1.119.0
home: https://immich.app/
icon: https://raw.githubusercontent.com/immich-app/immich/main/design/immich-logo.svg
Expand All @@ -28,9 +28,5 @@ dependencies:
version: 19.5.3
annotations:
artifacthub.io/category: storage
artifacthub.io/changes: |-
- kind: changed
description: Bumped pgvecto-rs to pg14-v0.2.0
links:
- name: Release Notes Breaking Changes
url: https://github.com/immich-app/immich/releases/tag/v1.95.1
artifacthub.io/changes: |
- Added default startupProbe for machine-learning to allow for preloading models
11 changes: 10 additions & 1 deletion charts/immich/templates/machine-learning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,16 @@ probes:
failureThreshold: 3
readiness: *probes
startup:
enabled: false
enabled: true
custom: true
spec:
httpGet:
path: /ping
port: http
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 60
{{- end }}

{{- /* Have to reference with index here because the dash breaks a normal dereference */}}
Expand Down

0 comments on commit 47d5661

Please sign in to comment.