Skip to content

Commit

Permalink
chore(helm): add task schema version and bump model db version (#1088)
Browse files Browse the repository at this point in the history
Because

- model-backend configs changed

This commit

- add task schema version hash in values.yaml
- bump model db version
  • Loading branch information
heiruwu committed Sep 5, 2024
1 parent 78133b5 commit d7b389f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 1 addition & 9 deletions charts/core/templates/model-backend/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ data:
key: /etc/instill-ai/model/ssl/model/tls.key
{{- end }}
instillcorehost: {{ .Values.modelBackend.instillCoreHost }}
taskschemaversion: {{ .Values.modelBackend.taskSchemaVersion }}
log:
external: {{ .Values.tags.observability }}
otelcollector:
Expand Down Expand Up @@ -77,15 +78,6 @@ data:
redis:
redisoptions:
addr: {{ default (include "core.redis.addr" .) .Values.redis.external.addr }}
maxbatchsizelimitation:
unspecified: 2
classification: 16
detection: 8
keypoint: 8
ocr: 2
instancesegmentation: 8
semanticsegmentation: 8
textgeneration: 1
temporal:
hostport: {{ default (printf "%s-frontend-headless:%s" (include "core.temporal" .) (include "core.temporal.frontend.grpcPort" .)) .Values.modelBackend.temporal.hostPort }}
namespace: {{ default "model-backend" .Values.modelBackend.temporal.namespace }}
Expand Down
4 changes: 3 additions & 1 deletion charts/core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,10 @@ modelBackend:
# -- The path of configuration file for model-backend
configPath: /model-backend/config/config.yaml
# -- The database migration version
dbVersion: 9
dbVersion: 10
instillCoreHost:
# -- The AI Task schema version
taskSchemaVersion: 78133b5
# -- The configuration of Temporal Cloud
temporal:
hostPort:
Expand Down

0 comments on commit d7b389f

Please sign in to comment.