From c271d5153e4edff2cd4313711a12b6255aad297c Mon Sep 17 00:00:00 2001 From: Christian Kadner Date: Wed, 10 Jan 2024 12:27:07 -0800 Subject: [PATCH] release: Update v0.11.2 image tags (#475) Signed-off-by: Christian Kadner --- .github/workflows/build.yml | 2 +- .github/workflows/fvt-base.yml | 10 +++++----- .github/workflows/fvt-cs.yml | 2 +- .github/workflows/fvt-ns.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- .gitignore | 1 + config/default/config-defaults.yaml | 6 +++--- config/dependencies/fvt.yaml | 4 ++-- config/dependencies/quickstart.yaml | 2 +- config/manager/kustomization.yaml | 2 +- docs/component-versions.md | 13 +++++++------ docs/install/install-script.md | 9 +-------- docs/quickstart.md | 8 +------- scripts/setup_user_namespaces.sh | 2 +- 15 files changed, 28 insertions(+), 39 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ef40e62..3d5fc102 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: push: branches: - main - - 'release-[0-9].[0-9]+' + - 'release-0.11.2' tags: - 'v*' paths-ignore: diff --git a/.github/workflows/fvt-base.yml b/.github/workflows/fvt-base.yml index 2707fcb8..a8379dc8 100644 --- a/.github/workflows/fvt-base.yml +++ b/.github/workflows/fvt-base.yml @@ -109,11 +109,11 @@ jobs: docker pull seldonio/mlserver:1.3.2 docker pull openvino/model_server:2022.2 # docker pull pytorch/torchserve:0.7.1-cpu - docker pull kserve/modelmesh:latest - docker pull kserve/modelmesh-minio-dev-examples:latest - docker pull kserve/modelmesh-minio-examples:latest - docker pull kserve/modelmesh-runtime-adapter:latest - docker pull kserve/rest-proxy:latest + docker pull kserve/modelmesh:v0.11.2 + docker pull kserve/modelmesh-minio-dev-examples:v0.11.2 + docker pull kserve/modelmesh-minio-examples:v0.11.2 + docker pull kserve/modelmesh-runtime-adapter:v0.11.2 + docker pull kserve/rest-proxy:v0.11.2 - name: Check installation run: | diff --git a/.github/workflows/fvt-cs.yml b/.github/workflows/fvt-cs.yml index f6151415..ff528567 100644 --- a/.github/workflows/fvt-cs.yml +++ b/.github/workflows/fvt-cs.yml @@ -5,7 +5,7 @@ on: pull_request: branches: - main - - 'release-[0-9].[0-9]+' + - 'release-0.11.2' paths: - '**' - '!.github/**' diff --git a/.github/workflows/fvt-ns.yml b/.github/workflows/fvt-ns.yml index 6ad2cc79..8ea09358 100644 --- a/.github/workflows/fvt-ns.yml +++ b/.github/workflows/fvt-ns.yml @@ -5,7 +5,7 @@ on: pull_request: branches: - main - - 'release-[0-9].[0-9]+' + - 'release-0.11.2' paths: - '**' - '!.github/**' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d8e384a9..2625bf07 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,7 @@ on: pull_request: branches: - main - - 'release-[0-9].[0-9]+' + - 'release-0.11.2' paths-ignore: - '.github/**' - '.tekton/**' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54ee397b..00e11a2f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: pull_request: branches: - main - - 'release-[0-9].[0-9]+' + - 'release-0.11.2' paths-ignore: - '.github/**' - '.tekton/**' diff --git a/.gitignore b/.gitignore index 9da8cc76..d1495d19 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ bin devbuild .develop_image_name .dev/ +.pre-commit.log diff --git a/config/default/config-defaults.yaml b/config/default/config-defaults.yaml index 4a4c7e42..e0ca16ca 100644 --- a/config/default/config-defaults.yaml +++ b/config/default/config-defaults.yaml @@ -16,7 +16,7 @@ podsPerRuntime: 2 headlessService: true modelMeshImage: name: kserve/modelmesh - tag: latest + tag: v0.11.2 modelMeshResources: requests: cpu: "300m" @@ -29,7 +29,7 @@ restProxy: port: 8008 image: name: kserve/rest-proxy - tag: latest + tag: v0.11.2 resources: requests: cpu: "50m" @@ -39,7 +39,7 @@ restProxy: memory: "512Mi" storageHelperImage: name: kserve/modelmesh-runtime-adapter - tag: latest + tag: v0.11.2 command: ["/opt/app/puller"] storageHelperResources: requests: diff --git a/config/dependencies/fvt.yaml b/config/dependencies/fvt.yaml index 42859f50..f8122dbb 100644 --- a/config/dependencies/fvt.yaml +++ b/config/dependencies/fvt.yaml @@ -108,7 +108,7 @@ spec: value: AKIAIOSFODNN7EXAMPLE - name: MINIO_SECRET_KEY value: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY - image: kserve/modelmesh-minio-dev-examples:latest + image: kserve/modelmesh-minio-dev-examples:v0.11.2 name: minio --- apiVersion: v1 @@ -171,7 +171,7 @@ spec: restartPolicy: OnFailure containers: - name: "copy-pod" - image: kserve/modelmesh-minio-examples:latest + image: kserve/modelmesh-minio-examples:v0.11.2 securityContext: runAsUser: 0 allowPrivilegeEscalation: false diff --git a/config/dependencies/quickstart.yaml b/config/dependencies/quickstart.yaml index e04bfeae..94c12e26 100644 --- a/config/dependencies/quickstart.yaml +++ b/config/dependencies/quickstart.yaml @@ -110,7 +110,7 @@ spec: - name: MINIO_SECRET_KEY value: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY # image: quay.io/cloudservices/minio:latest - image: kserve/modelmesh-minio-examples:latest + image: kserve/modelmesh-minio-examples:v0.11.2 name: minio --- apiVersion: v1 diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 55e768ba..2a1ad3d1 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -18,4 +18,4 @@ images: - name: modelmesh-controller newName: kserve/modelmesh-controller ## NOTE THIS SHOULD BE REPLACED WITH LATEST CONTROLLER IMAGE TAG - newTag: latest + newTag: v0.11.2 diff --git a/docs/component-versions.md b/docs/component-versions.md index 890a2c53..0600dc84 100644 --- a/docs/component-versions.md +++ b/docs/component-versions.md @@ -1,8 +1,9 @@ # Component versions -The following table shows the component versions for the latest modelmesh-serving release (v0.11.0). -| Component | Description | Upstream Revision | -| - | - | - | -| ModelMesh | Serves as a general-purpose model serving management/routing layer | [v0.11.0](https://github.com/kserve/modelmesh/tree/v0.11.0) | -| ModelMesh Runtime Adapter | Contains the unified puller/runtime-adapter image | [v0.11.0](https://github.com/kserve/modelmesh-runtime-adapter/tree/v0.11.0) | -| REST Proxy | Supports inference requests using KServe V2 REST Predict Protocol | [v0.11.0](https://github.com/kserve/rest-proxy/tree/v0.11.0) | +The following table shows the component versions for the latest ModelMesh Serving release (v0.11.2). + +| Component | Description | Upstream Revision | +| ------------------------- | ------------------------------------------------------------------ | --------------------------------------------------------------------------- | +| ModelMesh | Serves as a general-purpose model serving management/routing layer | [v0.11.2](https://github.com/kserve/modelmesh/tree/v0.11.2) | +| ModelMesh Runtime Adapter | Contains the unified puller/runtime-adapter image | [v0.11.2](https://github.com/kserve/modelmesh-runtime-adapter/tree/v0.11.2) | +| REST Proxy | Supports inference requests using KServe V2 REST Predict Protocol | [v0.11.2](https://github.com/kserve/rest-proxy/tree/v0.11.2) | diff --git a/docs/install/install-script.md b/docs/install/install-script.md index 238b9274..34a92ed1 100644 --- a/docs/install/install-script.md +++ b/docs/install/install-script.md @@ -40,17 +40,10 @@ A secret named `model-serving-etcd` will be created and passed to the controller ## Installation - - -To install the most recent _stable release_ of [modelmesh-serving](https://github.com/kserve/modelmesh-serving/releases/latest) -follow the [Installation instructions](https://github.com/kserve/modelmesh-serving/blob/release-0.11/docs/install/install-script.md) for version `v0.11.0`. - Start by cloning the [modelmesh-serving](https://github.com/kserve/modelmesh-serving.git) repository: - - ```shell -RELEASE="main" +RELEASE="release-0.11.2" git clone -b $RELEASE --depth 1 --single-branch https://github.com/kserve/modelmesh-serving.git cd modelmesh-serving ``` diff --git a/docs/quickstart.md b/docs/quickstart.md index 75042dd6..4b80928d 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -2,10 +2,6 @@ To quickly get started using ModelMesh Serving, here is a brief guide. - - -> **Note**: This document describes how to install the _latest unreleased_ version of ModelMesh for developers and early adopters. To install the most recent _stable release_, please follow the [Quick Start Guide for version 0.11](https://github.com/kserve/modelmesh-serving/blob/release-0.11/docs/quickstart.md). - ## Prerequisites - A Kubernetes cluster v1.23+ with cluster administrative privileges @@ -16,10 +12,8 @@ To quickly get started using ModelMesh Serving, here is a brief guide. ### Clone the ModelMesh repository - - ```shell -RELEASE="main" +RELEASE="release-0.11.2" git clone -b $RELEASE --depth 1 --single-branch https://github.com/kserve/modelmesh-serving.git cd modelmesh-serving ``` diff --git a/scripts/setup_user_namespaces.sh b/scripts/setup_user_namespaces.sh index c3b663fb..3dc0183a 100755 --- a/scripts/setup_user_namespaces.sh +++ b/scripts/setup_user_namespaces.sh @@ -31,7 +31,7 @@ EOF ctrl_ns="modelmesh-serving" user_ns_array=() -modelmesh_release="v0.11.0" # The latest release is the default +modelmesh_release="v0.11.2" # The latest release is the default create_storage_secret=false deploy_serving_runtimes=false dev_mode=false # Set to true to use locally cloned files instead of from a release