Skip to content

Commit

Permalink
fix(ai): increase default model keep alive to 72h
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Jan 3, 2025
1 parent ecdb4a4 commit b075fe1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/ai/ollama-nvidia-a10-single/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ autoscaling:
# -- Enable autoscaling
enabled: false

# -- Additional environments variables on the output Deployment definition.
# For extra OLLAMA env, please refer to https://github.com/ollama/ollama/blob/main/envconfig/config.go
extraEnv:
- name: OLLAMA_KEEP_ALIVE
value: "72h"

# Enable persistence using Persistent Volume Claims
# ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
persistentVolume:
Expand Down
6 changes: 6 additions & 0 deletions templates/ai/open-webui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ ollama:
# -- Enable autoscaling
enabled: false

# -- Additional environments variables on the output Deployment definition.
# For extra OLLAMA env, please refer to https://github.com/ollama/ollama/blob/main/envconfig/config.go
extraEnv:
- name: OLLAMA_KEEP_ALIVE
value: "72h"

# Enable persistence using Persistent Volume Claims
# ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
persistentVolume:
Expand Down

0 comments on commit b075fe1

Please sign in to comment.