Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add startup probe for machine learning #147

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading