From 48ed6771c4b7e17d1c35954ec4a42d2807b39d7d Mon Sep 17 00:00:00 2001 From: Alessio Pragliola Date: Wed, 13 Nov 2024 16:05:56 +0100 Subject: [PATCH 1/2] Update kubeflow/model-registry manifests from v0.2.10 Signed-off-by: Alessio Pragliola --- README.md | 2 +- .../upstream/base/kustomization.yaml | 2 +- .../options/csi/clusterstoragecontainer.yaml | 20 +++++++++++++++++++ .../upstream/options/csi/kustomization.yaml | 10 ++++++++++ 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 apps/model-registry/upstream/options/csi/clusterstoragecontainer.yaml create mode 100644 apps/model-registry/upstream/options/csi/kustomization.yaml diff --git a/README.md b/README.md index 16a084d5f4..4851017f37 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ This repo periodically syncs all official Kubeflow components from their respect | KServe | contrib/kserve/kserve | [v0.14.0](https://github.com/kserve/kserve/releases/tag/v0.14.0/install/v0.14.0) | | KServe Models Web App | contrib/kserve/models-web-app | [0.13.0](https://github.com/kserve/models-web-app/tree/0.13.0/config) | | Kubeflow Pipelines | apps/pipeline/upstream | [2.3.0](https://github.com/kubeflow/pipelines/tree/2.3.0/manifests/kustomize) | -| Kubeflow Model Registry | apps/model-registry/upstream | [v0.2.9](https://github.com/kubeflow/model-registry/tree/v0.2.9/manifests/kustomize) | +| Kubeflow Model Registry | apps/model-registry/upstream | [v0.2.10](https://github.com/kubeflow/model-registry/tree/v0.2.10/manifests/kustomize) | The following is also a matrix with versions from common components that are used from the different projects of Kubeflow: diff --git a/apps/model-registry/upstream/base/kustomization.yaml b/apps/model-registry/upstream/base/kustomization.yaml index 04dcff9bfe..11637f909c 100644 --- a/apps/model-registry/upstream/base/kustomization.yaml +++ b/apps/model-registry/upstream/base/kustomization.yaml @@ -8,4 +8,4 @@ resources: images: - name: kubeflow/model-registry newName: kubeflow/model-registry - newTag: v0.2.9 + newTag: v0.2.10 diff --git a/apps/model-registry/upstream/options/csi/clusterstoragecontainer.yaml b/apps/model-registry/upstream/options/csi/clusterstoragecontainer.yaml new file mode 100644 index 0000000000..a353fa4381 --- /dev/null +++ b/apps/model-registry/upstream/options/csi/clusterstoragecontainer.yaml @@ -0,0 +1,20 @@ +apiVersion: "serving.kserve.io/v1alpha1" +kind: ClusterStorageContainer +metadata: + name: model-registry-storage-initializer +spec: + container: + name: storage-initializer + image: kubeflow/model-registry-storage-initializer:latest + env: + - name: MODEL_REGISTRY_BASE_URL + value: "model-registry-service.kubeflow.svc.cluster.local:8080" + resources: + requests: + memory: 100Mi + cpu: 100m + limits: + memory: 1Gi + cpu: "1" + supportedUriFormats: + - prefix: model-registry:// diff --git a/apps/model-registry/upstream/options/csi/kustomization.yaml b/apps/model-registry/upstream/options/csi/kustomization.yaml new file mode 100644 index 0000000000..e0554351ae --- /dev/null +++ b/apps/model-registry/upstream/options/csi/kustomization.yaml @@ -0,0 +1,10 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: kubeflow + +resources: +- clusterstoragecontainer.yaml +images: +- name: kubeflow/model-registry-storage-initializer + newName: kubeflow/model-registry-storage-initializer + newTag: v0.2.10 From f909f6735225d2f5ff5aab378ce7d122bac07d69 Mon Sep 17 00:00:00 2001 From: Alessio Pragliola Date: Wed, 13 Nov 2024 16:08:27 +0100 Subject: [PATCH 2/2] chore: dump mr version in sync script Signed-off-by: Alessio Pragliola --- hack/synchronize-model-registry-manifests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/synchronize-model-registry-manifests.sh b/hack/synchronize-model-registry-manifests.sh index d313c30758..5a60764f8f 100755 --- a/hack/synchronize-model-registry-manifests.sh +++ b/hack/synchronize-model-registry-manifests.sh @@ -15,7 +15,7 @@ set -euxo pipefail IFS=$'\n\t' -COMMIT="v0.2.9" # You can use tags as well +COMMIT="v0.2.10" # You can use tags as well DEV_MODE=${DEV_MODE:=false} SRC_DIR=${SRC_DIR:=/tmp/kubeflow-model-registry} BRANCH=${BRANCH:=synchronize-kubeflow-model-registry-manifests-${COMMIT?}}