Skip to content

Commit

Permalink
[mlrun] Add model monitoring db (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyal-Danieli authored Aug 20, 2023
1 parent 4781cc1 commit 4b165e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/mlrun/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: mlrun
version: 0.9.15
version: 0.9.16
appVersion: 1.4.0
description: Machine Learning automation and tracking
sources:
Expand Down
3 changes: 3 additions & 0 deletions stable/mlrun/templates/db-configmap-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ data:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
FLUSH PRIVILEGES;
CREATE DATABASE IF NOT EXISTS mlrun;
{{- if not .Values.modelMonitoring.dsn }}
CREATE DATABASE IF NOT EXISTS mlrun_model_monitoring;
{{- end }}
{{- end }}
5 changes: 5 additions & 0 deletions stable/mlrun/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,11 @@ httpDB:
# dsn: "mysql+pymysql://root@mlrun-db:3306/mlrun"
# oldDsn: "sqlite:////mlrun/db/mlrun.db?check_same_thread=false"

modelMonitoring:
# If no dsn has been provided, will initiate monitoring database under mlrun-db service:
# mysql+pymysql://root@mlrun-db:3306/mlrun_model_monitoring
dsn:

defaultDockerRegistryURL: ""
defaultDockerRegistrySecretName: ""

Expand Down

0 comments on commit 4b165e9

Please sign in to comment.