Skip to content

Commit 13d67e0

Browse files
authored
adding proxy mode and custom args (#25)
* adding proxy mode and custom args * adding proxy mode and custom args * moving to service
1 parent 070c2af commit 13d67e0

File tree

4 files changed

+37
-4
lines changed

4 files changed

+37
-4
lines changed

charts/mlflow/.helmignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

charts/mlflow/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# to the chart and its templates, including the app version.
2323
# Versions are expected to follow Semantic Versioning (https://semver.org/)
2424

25-
version: 1.0.0
25+
version: 1.1.0
2626

2727
dependencies:
2828
- name: postgresql

charts/mlflow/templates/deployment.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,14 @@ spec:
3737
- --host=0.0.0.0
3838
- --port=8000
3939
- --backend-store-uri=postgresql://{{ .Values.postgresql.auth.username }}:{{ .Values.postgresql.auth.password }}@{{ .Values.postgresql.fullnameOverride }}:5432/{{ .Values.postgresql.auth.database}}
40+
{{ if .Values.service.proxyArtifact.enabled -}}
41+
- --artifacts-destination={{ .Values.service.directory }}
42+
{{- else -}}
4043
- --default-artifact-root={{ .Values.service.directory }}
41-
- --workers=2
44+
{{- end -}}
45+
{{ range .Values.service.customArgs }}
46+
- {{ . }}
47+
{{- end }}
4248
imagePullPolicy: {{ .Values.service.image.pullPolicy }}
4349
envFrom:
4450
{{- if .Values.s3.enabled }}

charts/mlflow/values.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ replicaCount: 1
66

77
service:
88
image:
9-
version: ""
9+
version: "inseefrlab/mlflow:v2.2.2"
1010
pullPolicy: IfNotPresent
1111
custom:
1212
enabled: false
1313
version: ""
1414
directory: /tmp/mlflow/artifacts/
15+
proxyArtifact:
16+
enabled : false
17+
customArgs: #[]
18+
- --workers=2
1519

1620
s3:
1721
# Specifies whether a config map should be created
@@ -47,7 +51,7 @@ security:
4751

4852
postgresql:
4953
image:
50-
tag: "12"
54+
tag: "15"
5155
auth:
5256
username: "admin"
5357
password: "changeme"

0 commit comments

Comments
 (0)