diff --git a/Makefile b/Makefile index 1a1705a23..509a8aeaa 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # Image URL to use all building/pushing image targets REGISTRY ?= YOUR_REGISTRY IMG_NAME ?= workspace -VERSION ?= v0.4.1 +VERSION ?= v0.4.2 GPU_PROVISIONER_VERSION ?= 0.3.1 IMG_TAG ?= $(subst v,,$(VERSION)) @@ -464,8 +464,9 @@ release-manifest: @sed -i -e "s/appVersion: .*/appVersion: ${IMG_TAG}/" ./charts/kaito/workspace/Chart.yaml @sed -i -e "s/tag: .*/tag: ${IMG_TAG}/" ./charts/kaito/workspace/values.yaml @sed -i -e 's/IMG_TAG=.*/IMG_TAG=${IMG_TAG}/' ./charts/kaito/workspace/README.md + @sed -i -e 's/export KAITO_WORKSPACE_VERSION=.*/export KAITO_WORKSPACE_VERSION=${IMG_TAG}/' ./docs/installation.md git checkout -b release-${VERSION} - git add ./Makefile ./charts/kaito/workspace/Chart.yaml ./charts/kaito/workspace/values.yaml ./charts/kaito/workspace/README.md + git add ./Makefile ./charts/kaito/workspace/Chart.yaml ./charts/kaito/workspace/values.yaml ./charts/kaito/workspace/README.md ./docs/installation.md git commit -s -m "release: update manifest and helm charts for ${VERSION}" ## -------------------------------------- diff --git a/charts/kaito/workspace/Chart.yaml b/charts/kaito/workspace/Chart.yaml index 714f14d79..e1c0b3829 100644 --- a/charts/kaito/workspace/Chart.yaml +++ b/charts/kaito/workspace/Chart.yaml @@ -6,13 +6,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.4.1 +version: 0.4.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 0.4.1 +appVersion: 0.4.2 home: https://github.com/kaito-project/kaito sources: - https://github.com/kaito-project/kaito diff --git a/charts/kaito/workspace/README.md b/charts/kaito/workspace/README.md index 8d3fe3a5b..9ecb44f90 100644 --- a/charts/kaito/workspace/README.md +++ b/charts/kaito/workspace/README.md @@ -5,7 +5,7 @@ ```bash export REGISTRY=mcr.microsoft.com/aks/kaito export IMG_NAME=workspace -export IMG_TAG=0.4.1 +export IMG_TAG=0.4.2 helm install workspace ./charts/kaito/workspace \ --set image.repository=${REGISTRY}/${IMG_NAME} --set image.tag=${IMG_TAG} \ --namespace kaito-workspace --create-namespace diff --git a/charts/kaito/workspace/values.yaml b/charts/kaito/workspace/values.yaml index 99c3e8770..ca2cec6d9 100644 --- a/charts/kaito/workspace/values.yaml +++ b/charts/kaito/workspace/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: repository: mcr.microsoft.com/aks/kaito/workspace pullPolicy: IfNotPresent - tag: 0.4.1 + tag: 0.4.2 imagePullSecrets: [] podAnnotations: {} podSecurityContext: diff --git a/docs/installation.md b/docs/installation.md index 46c48be4e..ea1d51bf0 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -42,15 +42,16 @@ az aks install-cli Install the Workspace controller. ```bash -helm install workspace ./charts/kaito/workspace --namespace kaito-workspace --create-namespace +export KAITO_WORKSPACE_VERSION=0.4.2 + +helm install kaito-workspace --set clusterName=$MY_CLUSTER --wait \ +https://github.com/kaito-project/kaito/raw/gh-pages/charts/kaito/workspace-$KAITO_WORKSPACE_VERSION.tgz --namespace kaito-workspace --create-namespace ``` Note that if you have installed another node provisioning controller that supports Karpenter-core APIs, the following steps for installing `gpu-provisioner` can be skipped. - ## Install gpu-provisioner controller - #### Enable Workload Identity and OIDC Issuer features The *gpu-provisioner* controller requires the [workload identity](https://learn.microsoft.com/azure/aks/workload-identity-overview?tabs=dotnet) feature to acquire the access token to the AKS cluster. @@ -73,6 +74,10 @@ az role assignment create --assignee $IDENTITY_PRINCIPAL_ID --scope /subscriptio ``` #### Install helm charts + +**Important Note**: +For kaito 0.4.2 and above, please use gpu-provisioner 0.3.1 or higher. For versions below kaito 0.4.2, please use gpu-provisioner 0.2.1. + Install the Node provisioner controller. ```bash # get additional values for helm chart install