[bitnami/mlflow] Add support for generic ephemeral volume (#36291)

This commit is contained in:
Kim Min Woo
2025-09-26 23:33:32 +09:00
committed by GitHub
parent da7242c2a0
commit bf43666619
6 changed files with 60 additions and 16 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 5.1.17 (2025-08-27)
## 5.2.0 (2025-09-25)
* [bitnami/mlflow] :zap: :arrow_up: Update dependency references ([#36208](https://github.com/bitnami/charts/pull/36208))
* [bitnami/mlflow] Add support for generic ephemeral volume ([#36291](https://github.com/bitnami/charts/pull/36291))
## <small>5.1.17 (2025-08-27)</small>
* [bitnami/mlflow] :zap: :arrow_up: Update dependency references (#36208) ([f8162a6](https://github.com/bitnami/charts/commit/f8162a6f72e04a852ac8cdf87fb3534e5868f13c)), closes [#36208](https://github.com/bitnami/charts/issues/36208)
## <small>5.1.16 (2025-08-22)</small>

View File

@@ -46,4 +46,4 @@ sources:
- https://github.com/bitnami/charts/tree/main/bitnami/mlflow
- https://github.com/bitnami/containers/tree/main/bitnami/mlflow
- https://github.com/mlflow/mlflow
version: 5.1.18
version: 5.2.0

View File

@@ -284,19 +284,21 @@ To back up and restore Helm chart deployments on Kubernetes, you need to back up
### MLflow Tracking Persistence Parameters
| Name | Description | Value |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------- | ------------------- |
| `tracking.persistence.enabled` | Enable persistence using Persistent Volume Claims | `true` |
| `tracking.persistence.mountPath` | Path to mount the volume at. | `/bitnami/mlflow` |
| `tracking.persistence.subPath` | The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services | `""` |
| `tracking.persistence.storageClass` | Storage class of backing PVC | `""` |
| `tracking.persistence.labels` | Persistent Volume labels | `{}` |
| `tracking.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
| `tracking.persistence.accessModes` | Persistent Volume Access Modes | `["ReadWriteOnce"]` |
| `tracking.persistence.size` | Size of data volume | `8Gi` |
| `tracking.persistence.existingClaim` | The name of an existing PVC to use for persistence | `""` |
| `tracking.persistence.selector` | Selector to match an existing Persistent Volume for MLflow data PVC | `{}` |
| `tracking.persistence.dataSource` | Custom PVC data source | `{}` |
| Name | Description | Value |
| -------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------- |
| `tracking.persistence.enabled` | Enable persistence using Persistent Volume Claims | `true` |
| `tracking.persistence.mountPath` | Path to mount the volume at. | `/bitnami/mlflow` |
| `tracking.persistence.subPath` | The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services | `""` |
| `tracking.persistence.storageClass` | Storage class of backing PVC | `""` |
| `tracking.persistence.labels` | Persistent Volume labels | `{}` |
| `tracking.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
| `tracking.persistence.accessModes` | Persistent Volume Access Modes | `["ReadWriteOnce"]` |
| `tracking.persistence.size` | Size of data volume | `8Gi` |
| `tracking.persistence.existingClaim` | The name of an existing PVC to use for persistence | `""` |
| `tracking.persistence.selector` | Selector to match an existing Persistent Volume for MLflow data PVC | `{}` |
| `tracking.persistence.dataSource` | Custom PVC data source | `{}` |
| `tracking.tmpVolume.ephemeral.enabled` | Use a generic ephemeral volume for `/tmp` instead of `emptyDir` | `false` |
| `tracking.tmpVolume.ephemeral.volumeClaimTemplate` | Custom `volumeClaimTemplate` for the ephemeral volume (YAML map) | `{}` |
### MLflow Tracking Other Parameters

View File

@@ -364,7 +364,13 @@ spec:
{{- end }}
volumes:
- name: tmp
{{- if .Values.tracking.tmpVolume.ephemeral.enabled }}
ephemeral:
volumeClaimTemplate:
{{- include "common.tplvalues.render" (dict "value" .Values.tracking.tmpVolume.ephemeral.volumeClaimTemplate "context" $) | nindent 14 }}
{{- else }}
emptyDir: {}
{{- end }}
- name: mlruns
emptyDir: {}
- name: mlartifacts

View File

@@ -1023,6 +1023,26 @@
}
}
},
"tmpVolume": {
"type": "object",
"properties": {
"ephemeral": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Use a generic ephemeral volume for `/tmp` instead of `emptyDir`"
},
"volumeClaimTemplate": {
"type": "object",
"default": {},
"description": "Custom `volumeClaimTemplate` for the ephemeral volume (YAML map)"
}
}
}
}
},
"serviceAccount": {
"type": "object",
"properties": {

View File

@@ -760,6 +760,17 @@ tracking:
## @param tracking.persistence.dataSource Custom PVC data source
##
dataSource: {}
## MLflow Tracking Generic Ephemeral Volume Parameters
## ref: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes
##
tmpVolume:
ephemeral:
## @param tracking.tmpVolume.ephemeral.enabled Use a generic ephemeral volume for `/tmp` instead of `emptyDir`
enabled: false
## @param tracking.tmpVolume.ephemeral.volumeClaimTemplate Custom `volumeClaimTemplate` for the ephemeral volume (YAML map)
volumeClaimTemplate: {}
## @section MLflow Tracking Other Parameters
##
serviceAccount:
@@ -776,6 +787,7 @@ tracking:
## @param tracking.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
##
automountServiceAccountToken: false
## @section MLflow Tracking Metrics Parameters
##
metrics: