Skip to content
2 changes: 1 addition & 1 deletion charts/mlrun-ce/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: mlrun-ce
version: 0.11.0-rc.22
version: 0.11.0-rc.23
description: MLRun Open Source Stack
home: https://iguazio.com
icon: https://www.iguazio.com/wp-content/uploads/2019/10/Iguazio-Logo.png
Expand Down
28 changes: 28 additions & 0 deletions charts/mlrun-ce/templates/pipelines/deployments/ml-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,34 @@ spec:
memory: 500Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
{{- if .Values.seaweedfs.enabled }}
# Add an init container to wait for the SeaweedFS S3 gateway to be ready before starting the ml-pipeline-api-server
# Use /status endpoint to check if the S3 gateway is ready, as it returns 200 OK when ready.
# Same as the Liveness and Readiness probes used in the SeaweedFS S3 deployment.
initContainers:
- name: wait-for-seaweedfs
Comment on lines +168 to +173
image: {{ .Values.pipelines.images.apiServer.busybox.repository }}:{{ .Values.pipelines.images.apiServer.busybox.tag }}
command:
- sh
- -c
- |
until wget -q -S -O /dev/null http://${SEAWEEDFS_HOST}:${SEAWEEDFS_PORT}/status 2>&1 | grep -q "HTTP/"; do
echo "Waiting for SeaweedFS S3 to be ready..."
sleep 5
done
echo "SeaweedFS S3 is ready."
env:
- name: SEAWEEDFS_HOST
valueFrom:
configMapKeyRef:
name: pipeline-install-config
key: objectStoreServiceHost
- name: SEAWEEDFS_PORT
Comment on lines +173 to +190
valueFrom:
configMapKeyRef:
name: pipeline-install-config
key: objectStoreServicePort
{{- end }}
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
Expand Down
3 changes: 3 additions & 0 deletions charts/mlrun-ce/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@ pipelines:
apiServer:
repository: ghcr.io/kubeflow/kfp-api-server
tag: 2.15.0
busybox:
repository: busybox
tag: "1.36"
persistenceagent:
repository: ghcr.io/kubeflow/kfp-persistence-agent
tag: 2.15.0
Expand Down
Loading