Skip to content

Commit

Permalink
release: Update image tags for v0.11.1 (kserve#440)
Browse files Browse the repository at this point in the history
Update version tags in the following files:
- config/default/config-defaults.yaml
- config/dependencies/quickstart.yaml
- config/manager/kustomization.yaml
- docs/component-versions.md
- docs/install/install-script.md
- docs/quickstart.md
- scripts/setup_user_namespaces.sh

Update branch rule pattern in .github/workflows/*.yml to run workflows
on release-0.11.1 branch

---------

Signed-off-by: Rafael Vasquez <[email protected]>
Signed-off-by: Christian Kadner <[email protected]>
Co-authored-by: Christian Kadner <[email protected]>
  • Loading branch information
2 people authored and heyselbi committed Oct 11, 2023
1 parent e1706cf commit 6a0e421
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 30 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Build
on:
workflow_dispatch:
push:
branches: [master]
branches:
- main
- 'release-0.11.1'
tags:
- 'v*'
paths-ignore:
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/fvt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: FVT
on:
workflow_dispatch:
pull_request:
branches: [master]
branches:
- main
- 'release-0.11.1'
paths:
- '**'
- '!.github/**'
Expand Down Expand Up @@ -111,11 +113,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.1
docker pull kserve/modelmesh-minio-dev-examples:v0.11.1
docker pull kserve/modelmesh-minio-examples:v0.11.1
docker pull kserve/modelmesh-runtime-adapter:v0.11.1
docker pull kserve/rest-proxy:v0.11.1
- name: Check installation
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Lint

on:
pull_request:
branches: [master]
branches:
- main
- 'release-0.11.1'
paths-ignore:
- '.github/**'
- '.tekton/**'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Test

on:
pull_request:
branches: [master]
branches:
- main
- 'release-0.11.1'
paths-ignore:
- '.github/**'
- '.tekton/**'
Expand Down
6 changes: 3 additions & 3 deletions config/default/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ podsPerRuntime: 2
headlessService: true
modelMeshImage:
name: kserve/modelmesh
tag: latest
tag: v0.11.1
modelMeshResources:
requests:
cpu: "300m"
Expand All @@ -29,7 +29,7 @@ restProxy:
port: 8008
image:
name: kserve/rest-proxy
tag: latest
tag: v0.11.1
resources:
requests:
cpu: "50m"
Expand All @@ -39,7 +39,7 @@ restProxy:
memory: "512Mi"
storageHelperImage:
name: kserve/modelmesh-runtime-adapter
tag: latest
tag: v0.11.1
command: ["/opt/app/puller"]
storageHelperResources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion config/dependencies/quickstart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
name: minio
---
apiVersion: v1
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
8 changes: 4 additions & 4 deletions controllers/modelmesh/modelmesh.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,24 +265,24 @@ func (m *Deployment) addMMEnvVars(deployment *appsv1.Deployment) error {
}

if m.EnableAccessLogging {
// See https://github.com/kserve/modelmesh/blob/v0.11.0/src/main/java/com/ibm/watson/modelmesh/ModelMeshEnvVars.java#L55
// See https://github.com/kserve/modelmesh/blob/v0.11.1/src/main/java/com/ibm/watson/modelmesh/ModelMeshEnvVars.java#L55
if err := setEnvironmentVar(ModelMeshContainerName, "MM_LOG_EACH_INVOKE", "true", deployment); err != nil {
return err
}
}

if m.GrpcMaxMessageSize > 0 {
// See https://github.com/kserve/modelmesh/blob/v0.11.0/src/main/java/com/ibm/watson/modelmesh/ModelMeshEnvVars.java#L38
// See https://github.com/kserve/modelmesh/blob/v0.11.1/src/main/java/com/ibm/watson/modelmesh/ModelMeshEnvVars.java#L38
if err := setEnvironmentVar(ModelMeshContainerName, "MM_SVC_GRPC_MAX_MSG_SIZE", strconv.Itoa(m.GrpcMaxMessageSize), deployment); err != nil {
return err
}
}

// See https://github.com/kserve/modelmesh/blob/v0.11.0/src/main/java/com/ibm/watson/modelmesh/ModelMeshEnvVars.java#L31
// See https://github.com/kserve/modelmesh/blob/v0.11.1/src/main/java/com/ibm/watson/modelmesh/ModelMeshEnvVars.java#L31
if err := setEnvironmentVar(ModelMeshContainerName, "MM_KVSTORE_PREFIX", ModelMeshEtcdPrefix, deployment); err != nil {
return err
}
// See https://github.com/kserve/modelmesh/blob/v0.11.0/src/main/java/com/ibm/watson/modelmesh/ModelMeshEnvVars.java#L68
// See https://github.com/kserve/modelmesh/blob/v0.11.1/src/main/java/com/ibm/watson/modelmesh/ModelMeshEnvVars.java#L68
if err := setEnvironmentVar(ModelMeshContainerName, "MM_DEFAULT_VMODEL_OWNER", m.DefaultVModelOwner, deployment); err != nil {
return err
}
Expand Down
8 changes: 4 additions & 4 deletions docs/component-versions.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Component versions

The following table shows the component versions for the latest modelmesh-serving release (v0.11.0).
The following table shows the component versions for the latest modelmesh-serving release (v0.11.1).
| 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) |
| ModelMesh | Serves as a general-purpose model serving management/routing layer | [v0.11.1](https://github.com/kserve/modelmesh/tree/v0.11.1) |
| ModelMesh Runtime Adapter | Contains the unified puller/runtime-adapter image | [v0.11.1](https://github.com/kserve/modelmesh-runtime-adapter/tree/v0.11.1) |
| REST Proxy | Supports inference requests using KServe V2 REST Predict Protocol | [v0.11.1](https://github.com/kserve/rest-proxy/tree/v0.11.1) |
8 changes: 4 additions & 4 deletions docs/install/install-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ A secret named `model-serving-etcd` will be created and passed to the controller

<!-- Remove the following note on the `release-*` branch -->

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`.
To install the most recent _stable release_ of [modelmesh-serving](https://github.com/kserve/modelmesh-serving/releases/v0.11.1)
follow the [Installation instructions](https://github.com/kserve/modelmesh-serving/blob/release-0.11.1/docs/install/install-script.md) for version `v0.11.1`.

Start by cloning the [modelmesh-serving](https://github.com/kserve/modelmesh-serving.git) repository:

<!-- Replace with RELEASE="release-0.11" on the `release-*` branch -->
<!-- Replace with RELEASE="release-0.11.1" on the `release-*` branch -->

```shell
RELEASE="main"
RELEASE="release-0.11.1"
git clone -b $RELEASE --depth 1 --single-branch https://github.com/kserve/modelmesh-serving.git
cd modelmesh-serving
```
Expand Down
6 changes: 3 additions & 3 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ To quickly get started using ModelMesh Serving, here is a brief guide.

<!-- Remove the following note on the `release-*` branch -->

> **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).
> **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.1](https://github.com/kserve/modelmesh-serving/blob/release-0.11.1/docs/quickstart.md).
## Prerequisites

Expand All @@ -16,10 +16,10 @@ To quickly get started using ModelMesh Serving, here is a brief guide.

### Clone the ModelMesh repository

<!-- Replace with RELEASE="release-0.11" on the `release-*` branch -->
<!-- Replace with RELEASE="release-0.11.1" on the `release-*` branch -->

```shell
RELEASE="main"
RELEASE="release-0.11.1"
git clone -b $RELEASE --depth 1 --single-branch https://github.com/kserve/modelmesh-serving.git
cd modelmesh-serving
```
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup_user_namespaces.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ EOF

ctrl_ns="modelmesh-serving"
user_ns_array=()
modelmesh_release="v0.11.0" # The latest release is the default
modelmesh_release="v0.11.1" # 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
Expand Down

0 comments on commit 6a0e421

Please sign in to comment.