Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(merlin): Update merlin and mlflow versions #422

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/merlin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ maintainers:
- email: [email protected]
name: caraml-dev
name: merlin
version: 0.13.18
version: 0.13.19
23 changes: 15 additions & 8 deletions charts/merlin/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# merlin

---
![Version: 0.13.18](https://img.shields.io/badge/Version-0.13.18-informational?style=flat-square)
![Version: 0.13.19](https://img.shields.io/badge/Version-0.13.19-informational?style=flat-square)
![AppVersion: v0.42.0](https://img.shields.io/badge/AppVersion-v0.42.0-informational?style=flat-square)

Kubernetes-friendly ML model management, deployment, and serving.
Expand Down Expand Up @@ -107,6 +107,12 @@ The following table lists the configurable parameters of the Merlin chart and th
| config.NewRelic.IgnoreStatusCodes[5] | int | `412` | |
| config.NewRelic.License | string | `"newrelic-license-secret"` | |
| config.NumOfQueueWorkers | int | `2` | |
| config.ObservabilityPublisher.DefaultResources.Limits.CPU | string | `"2"` | |
| config.ObservabilityPublisher.DefaultResources.Limits.Memory | string | `"1Gi"` | |
| config.ObservabilityPublisher.DefaultResources.Requests.CPU | string | `"1"` | |
| config.ObservabilityPublisher.DefaultResources.Requests.Memory | string | `"1Gi"` | |
| config.ObservabilityPublisher.EnvironmentName | string | `"id-dev"` | |
| config.ObservabilityPublisher.KafkaConsumer.Brokers | string | `"kafka-brokers"` | |
| config.Port | int | `8080` | |
| config.PyFuncPublisherConfig.Kafka.Acks | int | `0` | |
| config.PyFuncPublisherConfig.Kafka.AdditionalConfig | string | `"{}"` | |
Expand Down Expand Up @@ -214,9 +220,9 @@ The following table lists the configurable parameters of the Merlin chart and th
| global.protocol | string | `"http"` | |
| imageBuilder.builderConfig.ArtifactServiceType | string | `"nop"` | |
| imageBuilder.builderConfig.BaseImage.BuildContextSubPath | string | `"python"` | |
| imageBuilder.builderConfig.BaseImage.BuildContextURI | string | `"git://github.com/caraml-dev/merlin.git#refs/tags/v0.38.0-rc1"` | |
| imageBuilder.builderConfig.BaseImage.BuildContextURI | string | `"git://github.com/caraml-dev/merlin.git#refs/tags/v0.45.3"` | |
| imageBuilder.builderConfig.BaseImage.DockerfilePath | string | `"pyfunc-server/docker/Dockerfile"` | |
| imageBuilder.builderConfig.BaseImage.ImageName | string | `"ghcr.io/caraml-dev/merlin/merlin-pyfunc-base:0.38.0-rc1"` | |
| imageBuilder.builderConfig.BaseImage.ImageName | string | `"ghcr.io/caraml-dev/merlin/merlin-pyfunc-base:0.45.3"` | |
| imageBuilder.builderConfig.BuildNamespace | string | `"mlp"` | |
| imageBuilder.builderConfig.BuildTimeout | string | `"30m"` | |
| imageBuilder.builderConfig.DefaultResources.Limits.CPU | string | `"1"` | |
Expand All @@ -230,12 +236,13 @@ The following table lists the configurable parameters of the Merlin chart and th
| imageBuilder.builderConfig.KanikoAdditionalArgs[3] | string | `"--use-new-run"` | |
| imageBuilder.builderConfig.KanikoAdditionalArgs[4] | string | `"--log-timestamp"` | |
| imageBuilder.builderConfig.KanikoImage | string | `"gcr.io/kaniko-project/executor:v1.18.0"` | |
| imageBuilder.builderConfig.KanikoPushRegistryType | string | `"gcr"` | |
| imageBuilder.builderConfig.MaximumRetry | int | `3` | |
| imageBuilder.builderConfig.NodeSelectors | object | `{}` | |
| imageBuilder.builderConfig.PredictionJobBaseImage.BuildContextSubPath | string | `"python"` | |
| imageBuilder.builderConfig.PredictionJobBaseImage.BuildContextURI | string | `"git://github.com/caraml-dev/merlin.git#refs/tags/v0.38.0-rc1"` | |
| imageBuilder.builderConfig.PredictionJobBaseImage.BuildContextURI | string | `"git://github.com/caraml-dev/merlin.git#refs/tags/v0.45.3"` | |
| imageBuilder.builderConfig.PredictionJobBaseImage.DockerfilePath | string | `"batch-predictor/docker/app.Dockerfile"` | |
| imageBuilder.builderConfig.PredictionJobBaseImage.ImageName | string | `"ghcr.io/caraml-dev/merlin/merlin-pyspark-base:0.38.0-rc1"` | |
| imageBuilder.builderConfig.PredictionJobBaseImage.ImageName | string | `"ghcr.io/caraml-dev/merlin/merlin-pyspark-base:0.45.3"` | |
| imageBuilder.builderConfig.PredictionJobBaseImage.MainAppPath | string | `"/home/spark/merlin-spark-app/main.py"` | |
| imageBuilder.builderConfig.Retention | string | `"48h"` | |
| imageBuilder.builderConfig.SafeToEvict | bool | `false` | |
Expand Down Expand Up @@ -313,8 +320,8 @@ The following table lists the configurable parameters of the Merlin chart and th
| mlflow.host | string | `"0.0.0.0"` | |
| mlflow.image.pullPolicy | string | `"Always"` | |
| mlflow.image.registry | string | `"ghcr.io"` | |
| mlflow.image.repository | string | `"gojek/mlflow"` | |
| mlflow.image.tag | string | `"1.3.0"` | |
| mlflow.image.repository | string | `"caraml-dev/mlflow"` | |
| mlflow.image.tag | string | `"1.26.1"` | |
| mlflow.ingress.class | string | `"nginx"` | |
| mlflow.ingress.enabled | bool | `false` | |
| mlflow.livenessProbe.initialDelaySeconds | int | `30` | |
Expand Down Expand Up @@ -361,7 +368,7 @@ The following table lists the configurable parameters of the Merlin chart and th
| mlp.keto.enabled | bool | `true` | |
| mlp.keto.fullnameOverride | string | `"mlp-keto"` | |
| rendered.overrides | object | `{}` | |
| rendered.releasedVersion | string | `"v0.38.0-rc1"` | |
| rendered.releasedVersion | string | `"v0.45.3"` | |
| service.externalPort | int | `8080` | |
| service.internalPort | int | `8080` | |
| serviceAccount.annotations | object | `{}` | |
Expand Down
4 changes: 2 additions & 2 deletions charts/merlin/tests/merlin_config_secret_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ tests:
pattern: my-release-merlin-config$
- matchRegex:
path: stringData.[config.yaml]
pattern: "ImageName: ghcr.io/caraml-dev/merlin/merlin-pyfunc-base:0.38.0-rc1"
pattern: "ImageName: ghcr.io/caraml-dev/merlin/merlin-pyfunc-base:0.45.3"
- matchRegex:
path: stringData.[config.yaml]
pattern: "BuildContextURI: git://github.com/caraml-dev/merlin.git#refs/tags/v0.38.0-rc1"
pattern: "BuildContextURI: git://github.com/caraml-dev/merlin.git#refs/tags/v0.45.3"
4 changes: 2 additions & 2 deletions charts/merlin/tests/merlin_deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ tests:
pattern: my-release-merlin$
- equal: # check image version
path: spec.template.spec.containers[0].image
value: ghcr.io/caraml-dev/merlin:0.38.0-rc1
value: ghcr.io/caraml-dev/merlin:0.45.3
- equal: # check version label
path: spec.template.metadata.labels.version
value: 0.38.0-rc1
value: 0.45.3
26 changes: 19 additions & 7 deletions charts/merlin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ global:
# .config when generating templates
rendered:
# releasedVersion refers to the git release or tag
releasedVersion: v0.38.0-rc1
releasedVersion: v0.45.3
overrides: {}
# set deployment.image.tag to non-nil to overwrite
# .rendered.releasedVersion
Expand Down Expand Up @@ -236,6 +236,17 @@ config:
Acks: 0
LingerMS: 100
AdditionalConfig: "{}"
ObservabilityPublisher:
KafkaConsumer:
Brokers: "kafka-brokers"
DefaultResources:
Requests:
CPU: "1"
Memory: "1Gi"
Limits:
CPU: "2"
Memory: "1Gi"
EnvironmentName: id-dev
Comment on lines +239 to +249
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clusterConfig:
# -- (bool) Configuration to tell Merlin API how it should authenticate with deployment k8s cluster
# By default, Merlin API expects to use a remote k8s cluster for deployment and to do so, it requires
Expand Down Expand Up @@ -268,20 +279,21 @@ imageBuilder:
builderConfig:
ArtifactServiceType: nop
BaseImage:
ImageName: ghcr.io/caraml-dev/merlin/merlin-pyfunc-base:0.38.0-rc1
ImageName: ghcr.io/caraml-dev/merlin/merlin-pyfunc-base:0.45.3
DockerfilePath: "pyfunc-server/docker/Dockerfile"
BuildContextURI: "git://github.com/caraml-dev/merlin.git#refs/tags/v0.38.0-rc1"
BuildContextURI: "git://github.com/caraml-dev/merlin.git#refs/tags/v0.45.3"
BuildContextSubPath: "python"
PredictionJobBaseImage:
ImageName: ghcr.io/caraml-dev/merlin/merlin-pyspark-base:0.38.0-rc1
ImageName: ghcr.io/caraml-dev/merlin/merlin-pyspark-base:0.45.3
DockerfilePath: "batch-predictor/docker/app.Dockerfile"
BuildContextURI: "git://github.com/caraml-dev/merlin.git#refs/tags/v0.38.0-rc1"
BuildContextURI: "git://github.com/caraml-dev/merlin.git#refs/tags/v0.45.3"
BuildContextSubPath: "python"
MainAppPath: "/home/spark/merlin-spark-app/main.py"
BuildNamespace: "mlp"
DockerRegistry: "dockerRegistry"
BuildTimeout: "30m"
KanikoImage: "gcr.io/kaniko-project/executor:v1.18.0"
KanikoPushRegistryType: gcr
KanikoAdditionalArgs:
- "--cache=true"
- "--compressed-caching=false"
Expand Down Expand Up @@ -477,8 +489,8 @@ mlflow:
podLabels: {}
image:
registry: ghcr.io
repository: gojek/mlflow
tag: 1.3.0
repository: caraml-dev/mlflow
tag: 1.26.1
pullPolicy: Always
replicaCount: 1
rollingUpdate:
Expand Down
Loading