Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-0.12] ODH preparation for v0.12.1 #339

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout source
uses: actions/checkout@v2
Expand Down Expand Up @@ -90,6 +90,36 @@ jobs:
source kserve/.venv/bin/activate
pytest --cov=kserve ./kserve

# ----------------------------------------Kserve Pydantic V1 Unit Tests--------------------------------------------
- name: Setup kserve pydantic v1 directory
run: |
mkdir -p python/kserve-pydantic-v1
cp -r python/kserve/* python/kserve-pydantic-v1
cd python/kserve-pydantic-v1
# update the lock file without installing dependencies
poetry update "pydantic<2.0" --lock
- name: Load cached kserve pydantic v1 venv
id: cached-kserve-pydantic-v1-dependencies
uses: actions/cache@v3
with:
path: python/kserve-pydantic-v1/.venv
key: kserve-pydantic-v1-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/kserve-pydantic-v1/poetry.lock') }}
# install kserve pydantic v1 dependencies if cache does not exist
- name: Install kserve pydantic v1 dependencies
if: steps.cached-kserve-pydantic-v1-dependencies.outputs.cache-hit != 'true'
run: |
cd python/kserve-pydantic-v1
make install_dependencies
- name: Install kserve pydantic v1
run: |
cd python/kserve-pydantic-v1
make dev_install
- name: Test kserve pydantic v1
run: |
cd python
source kserve-pydantic-v1/.venv/bin/activate
pytest --cov=kserve ./kserve-pydantic-v1

# ----------------------------------------Sklearn Server Unit Tests------------------------------------------------
# load cached sklearn venv if cache exists
- name: Load cached sklearn venv
Expand Down
2 changes: 1 addition & 1 deletion charts/kserve-crd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: kserve-crd
version: v0.12.0
version: v0.12.1
description: Helm chart for deploying kserve crds
keywords:
- kserve
Expand Down
6 changes: 2 additions & 4 deletions charts/kserve-crd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

Helm chart for deploying kserve crds

![Version: v0.12.0-rc1](https://img.shields.io/badge/Version-v0.12.0--rc1-informational?style=flat-square)
![Version: v0.12.1](https://img.shields.io/badge/Version-v0.12.1-informational?style=flat-square)

## Installing the Chart

To install the chart, run the following:

```console
$ helm install kserve-crd oci://ghcr.io/kserve/charts/kserve-crd --version v0.12.0-rc1
$ helm install kserve-crd oci://ghcr.io/kserve/charts/kserve-crd --version v0.12.1
```

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)
2 changes: 1 addition & 1 deletion charts/kserve-resources/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: kserve
version: v0.12.0
version: v0.12.1
description: Helm chart for deploying kserve resources
keywords:
- kserve
Expand Down
42 changes: 21 additions & 21 deletions charts/kserve-resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

Helm chart for deploying kserve resources

![Version: v0.12.0-rc1](https://img.shields.io/badge/Version-v0.12.0--rc1-informational?style=flat-square)
![Version: v0.12.1](https://img.shields.io/badge/Version-v0.12.1-informational?style=flat-square)

## Installing the Chart

To install the chart, run the following:

```console
$ helm install kserve oci://ghcr.io/kserve/charts/kserve --version v0.12.0-rc1
$ helm install kserve oci://ghcr.io/kserve/charts/kserve --version v0.12.1
```

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| kserve.agent.image | string | `"kserve/agent"` | |
| kserve.agent.tag | string | `"v0.12.0-rc1"` | |
| kserve.agent.tag | string | `"v0.12.1"` | |
| kserve.controller.affinity | object | `{}` | |
| kserve.controller.deploymentMode | string | `"Serverless"` | |
| kserve.controller.gateway.disableIngressCreation | bool | `false` | |
Expand All @@ -37,48 +37,50 @@ $ helm install kserve oci://ghcr.io/kserve/charts/kserve --version v0.12.0-rc1
| kserve.controller.resources.limits.memory | string | `"300Mi"` | |
| kserve.controller.resources.requests.cpu | string | `"100m"` | |
| kserve.controller.resources.requests.memory | string | `"300Mi"` | |
| kserve.controller.tag | string | `"v0.12.0-rc1"` | |
| kserve.controller.tag | string | `"v0.12.1"` | |
| kserve.controller.tolerations | list | `[]` | |
| kserve.controller.topologySpreadConstraints | list | `[]` | |
| kserve.metricsaggregator.enableMetricAggregation | string | `"false"` | |
| kserve.metricsaggregator.enablePrometheusScraping | string | `"false"` | |
| kserve.modelmesh.config.modelmeshImage | string | `"kserve/modelmesh"` | |
| kserve.modelmesh.config.modelmeshImageTag | string | `"v0.11.1"` | |
| kserve.modelmesh.config.modelmeshImageTag | string | `"v0.11.2"` | |
| kserve.modelmesh.config.modelmeshRuntimeAdapterImage | string | `"kserve/modelmesh-runtime-adapter"` | |
| kserve.modelmesh.config.modelmeshRuntimeAdapterImageTag | string | `"v0.11.1"` | |
| kserve.modelmesh.config.modelmeshRuntimeAdapterImageTag | string | `"v0.11.2"` | |
| kserve.modelmesh.config.podsPerRuntime | int | `2` | |
| kserve.modelmesh.config.restProxyImage | string | `"kserve/rest-proxy"` | |
| kserve.modelmesh.config.restProxyImageTag | string | `"v0.11.1"` | |
| kserve.modelmesh.config.restProxyImageTag | string | `"v0.11.2"` | |
| kserve.modelmesh.controller.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].key | string | `"control-plane"` | |
| kserve.modelmesh.controller.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].operator | string | `"In"` | |
| kserve.modelmesh.controller.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].values[0] | string | `"modelmesh-controller"` | |
| kserve.modelmesh.controller.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.topologyKey | string | `"topology.kubernetes.io/zone"` | |
| kserve.modelmesh.controller.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].weight | int | `100` | |
| kserve.modelmesh.controller.image | string | `"kserve/modelmesh-controller"` | |
| kserve.modelmesh.controller.nodeSelector | object | `{}` | |
| kserve.modelmesh.controller.tag | string | `"v0.11.1"` | |
| kserve.modelmesh.controller.tag | string | `"v0.11.2"` | |
| kserve.modelmesh.controller.tolerations | list | `[]` | |
| kserve.modelmesh.controller.topologySpreadConstraints | list | `[]` | |
| kserve.modelmesh.enabled | bool | `true` | |
| kserve.modelmeshVersion | string | `"v0.11.1"` | |
| kserve.modelmeshVersion | string | `"v0.11.2"` | |
| kserve.router.image | string | `"kserve/router"` | |
| kserve.router.tag | string | `"v0.12.0-rc1"` | |
| kserve.servingruntime.alibi.defaultVersion | string | `"v0.12.0-rc1"` | |
| kserve.router.tag | string | `"v0.12.1"` | |
| kserve.servingruntime.alibi.defaultVersion | string | `"v0.12.1"` | |
| kserve.servingruntime.alibi.image | string | `"kserve/alibi-explainer"` | |
| kserve.servingruntime.art.defaultVersion | string | `"v0.12.0-rc1"` | |
| kserve.servingruntime.art.defaultVersion | string | `"v0.12.1"` | |
| kserve.servingruntime.art.image | string | `"kserve/art-explainer"` | |
| kserve.servingruntime.huggingfaceserver.image | string | `"kserve/huggingfaceserver"` | |
| kserve.servingruntime.huggingfaceserver.tag | string | `"v0.12.1"` | |
| kserve.servingruntime.lgbserver.image | string | `"kserve/lgbserver"` | |
| kserve.servingruntime.lgbserver.tag | string | `"v0.12.0-rc1"` | |
| kserve.servingruntime.lgbserver.tag | string | `"v0.12.1"` | |
| kserve.servingruntime.mlserver.image | string | `"docker.io/seldonio/mlserver"` | |
| kserve.servingruntime.mlserver.modelClassPlaceholder | string | `"{{.Labels.modelClass}}"` | |
| kserve.servingruntime.mlserver.tag | string | `"1.3.2"` | |
| kserve.servingruntime.modelNamePlaceholder | string | `"{{.Name}}"` | |
| kserve.servingruntime.paddleserver.image | string | `"kserve/paddleserver"` | |
| kserve.servingruntime.paddleserver.tag | string | `"v0.12.0-rc1"` | |
| kserve.servingruntime.paddleserver.tag | string | `"v0.12.1"` | |
| kserve.servingruntime.pmmlserver.image | string | `"kserve/pmmlserver"` | |
| kserve.servingruntime.pmmlserver.tag | string | `"v0.12.0-rc1"` | |
| kserve.servingruntime.pmmlserver.tag | string | `"v0.12.1"` | |
| kserve.servingruntime.sklearnserver.image | string | `"kserve/sklearnserver"` | |
| kserve.servingruntime.sklearnserver.tag | string | `"v0.12.0-rc1"` | |
| kserve.servingruntime.sklearnserver.tag | string | `"v0.12.1"` | |
| kserve.servingruntime.tensorflow.image | string | `"tensorflow/serving"` | |
| kserve.servingruntime.tensorflow.tag | string | `"2.6.2"` | |
| kserve.servingruntime.torchserve.image | string | `"pytorch/torchserve-kfs"` | |
Expand All @@ -87,7 +89,7 @@ $ helm install kserve oci://ghcr.io/kserve/charts/kserve --version v0.12.0-rc1
| kserve.servingruntime.tritonserver.image | string | `"nvcr.io/nvidia/tritonserver"` | |
| kserve.servingruntime.tritonserver.tag | string | `"23.05-py3"` | |
| kserve.servingruntime.xgbserver.image | string | `"kserve/xgbserver"` | |
| kserve.servingruntime.xgbserver.tag | string | `"v0.12.0-rc1"` | |
| kserve.servingruntime.xgbserver.tag | string | `"v0.12.1"` | |
| kserve.storage.caBundleConfigMapName | string | `""` | |
| kserve.storage.caBundleVolumeMountPath | string | `"/etc/ssl/custom-certs"` | |
| kserve.storage.cpuModelcar | string | `"10m"` | |
Expand All @@ -105,8 +107,6 @@ $ helm install kserve oci://ghcr.io/kserve/charts/kserve --version v0.12.0-rc1
| kserve.storage.s3.verifySSL | string | `""` | |
| kserve.storage.storageSecretNameAnnotation | string | `"serving.kserve.io/secretName"` | |
| kserve.storage.storageSpecSecretName | string | `"storage-config"` | |
| kserve.storage.tag | string | `"v0.12.0-rc1"` | |
| kserve.version | string | `"v0.12.0-rc1"` | |
| kserve.storage.tag | string | `"v0.12.1"` | |
| kserve.version | string | `"v0.12.1"` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)
2 changes: 1 addition & 1 deletion charts/kserve-resources/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kserve:
version: &defaultVersion v0.12.0
version: &defaultVersion v0.12.1
modelmeshVersion: &defaultModelMeshVersion v0.11.2
agent:
image: kserve/agent
Expand Down
1 change: 1 addition & 0 deletions hack/generate-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ RELEASES=(
"v0.12.0-rc0"
"v0.12.0-rc1"
"v0.12.0"
"v0.12.1"
)

TAG=$1
Expand Down
2 changes: 1 addition & 1 deletion hack/quick_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export ISTIO_VERSION=1.19.4
export ISTIO_DIR=istio-${ISTIO_VERSION}
export KNATIVE_SERVING_VERSION=knative-v1.10.1
export KNATIVE_ISTIO_VERSION=knative-v1.10.0
export KSERVE_VERSION=v0.12.0
export KSERVE_VERSION=v0.12.1
export CERT_MANAGER_VERSION=v1.3.0
export SCRIPT_DIR="$( dirname -- "${BASH_SOURCE[0]}" )"

Expand Down
Loading
Loading