From 972c638ebbb68a4f1587c546660aab53999ff2ff Mon Sep 17 00:00:00 2001 From: Rob Kooper Date: Tue, 26 Apr 2022 15:02:55 -0500 Subject: [PATCH] add --host 0.0.0.0 --- charts/mlflow/Chart.yaml | 4 ++-- charts/mlflow/templates/deployment.yaml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/mlflow/Chart.yaml b/charts/mlflow/Chart.yaml index c844e83..7ab73f9 100644 --- a/charts/mlflow/Chart.yaml +++ b/charts/mlflow/Chart.yaml @@ -8,7 +8,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.1 +version: 1.0.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -43,4 +43,4 @@ annotations: - name: Helm Chart url: https://github.com/ncsa/charts artifacthub.io/changes: | - - Use existing secrets for mlflow pod + - Fix deployment to listen on 0.0.0.0 interface diff --git a/charts/mlflow/templates/deployment.yaml b/charts/mlflow/templates/deployment.yaml index 84b4590..3d8f6f4 100644 --- a/charts/mlflow/templates/deployment.yaml +++ b/charts/mlflow/templates/deployment.yaml @@ -63,7 +63,8 @@ spec: {{- end }} args: ["server", "--backend-store-uri", "{{- template "services.postgres.uri" .}}", - "--default-artifact-root", "{{- template "services.minio.uri" . }}"] + "--default-artifact-root", "{{- template "services.minio.uri" . }}", + "--host", "0.0.0.0"] ports: - name: mlflow containerPort: 5000