From d838ad11d323a71f19c136fabbf65c9e23b2ae81 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 18 Mar 2024 13:14:06 +0200 Subject: [PATCH] Bump version to v0.15.0-rc.2 in README Signed-off-by: Evan Lezar --- README.md | 38 +++++++++++++++++++------------------- RELEASE.md | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 8b9dc9b50..777a60d51 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ Once you have configured the options above on all the GPU nodes in your cluster, you can enable GPU support by deploying the following Daemonset: ```shell -$ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.15.0-rc.1/nvidia-device-plugin.yml +$ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.15.0-rc.2/nvidia-device-plugin.yml ``` **Note:** This is a simple static daemonset meant to demonstrate the basic @@ -560,11 +560,11 @@ $ helm repo add nvdp https://nvidia.github.io/k8s-device-plugin $ helm repo update ``` -Then verify that the latest release (`v0.15.0-rc.1`) of the plugin is available: +Then verify that the latest release (`v0.15.0-rc.2`) of the plugin is available: ``` $ helm search repo nvdp --devel NAME CHART VERSION APP VERSION DESCRIPTION -nvdp/nvidia-device-plugin 0.15.0-rc.1 0.15.0-rc.1 A Helm chart for ... +nvdp/nvidia-device-plugin 0.15.0-rc.2 0.15.0-rc.2 A Helm chart for ... ``` Once this repo is updated, you can begin installing packages from it to deploy @@ -575,7 +575,7 @@ The most basic installation command without any options is then: helm upgrade -i nvdp nvdp/nvidia-device-plugin \ --namespace nvidia-device-plugin \ --create-namespace \ - --version 0.15.0-rc.1 + --version 0.15.0-rc.2 ``` **Note:** You only need the to pass the `--devel` flag to `helm search repo` @@ -584,7 +584,7 @@ version (e.g. `-rc.1`). Full releases will be listed without this. ### Configuring the device plugin's `helm` chart -The `helm` chart for the latest release of the plugin (`v0.15.0-rc.1`) includes +The `helm` chart for the latest release of the plugin (`v0.15.0-rc.2`) includes a number of customizable values. Prior to `v0.12.0` the most commonly used values were those that had direct @@ -594,7 +594,7 @@ case of the original values is then to override an option from the `ConfigMap` if desired. Both methods are discussed in more detail below. The full set of values that can be set are found here: -[here](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.15.0-rc.1/deployments/helm/nvidia-device-plugin/values.yaml). +[here](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.15.0-rc.2/deployments/helm/nvidia-device-plugin/values.yaml). #### Passing configuration to the plugin via a `ConfigMap`. @@ -633,7 +633,7 @@ EOF And deploy the device plugin via helm (pointing it at this config file and giving it a name): ``` $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \ - --version=0.15.0-rc.1 \ + --version=0.15.0-rc.2 \ --namespace nvidia-device-plugin \ --create-namespace \ --set-file config.map.config=/tmp/dp-example-config0.yaml @@ -655,7 +655,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \ ``` ``` $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \ - --version=0.15.0-rc.1 \ + --version=0.15.0-rc.2 \ --namespace nvidia-device-plugin \ --create-namespace \ --set config.name=nvidia-plugin-configs @@ -683,7 +683,7 @@ EOF And redeploy the device plugin via helm (pointing it at both configs with a specified default). ``` $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \ - --version=0.15.0-rc.1 \ + --version=0.15.0-rc.2 \ --namespace nvidia-device-plugin \ --create-namespace \ --set config.default=config0 \ @@ -702,7 +702,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \ ``` ``` $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \ - --version=0.15.0-rc.1 \ + --version=0.15.0-rc.2 \ --namespace nvidia-device-plugin \ --create-namespace \ --set config.default=config0 \ @@ -785,7 +785,7 @@ chart values that are commonly overridden are: ``` Please take a look in the -[`values.yaml`](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.15.0-rc.1/deployments/helm/nvidia-device-plugin/values.yaml) +[`values.yaml`](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.15.0-rc.2/deployments/helm/nvidia-device-plugin/values.yaml) file to see the full set of overridable parameters for the device plugin. Examples of setting these options include: @@ -794,7 +794,7 @@ Enabling compatibility with the `CPUManager` and running with a request for 100ms of CPU time and a limit of 512MB of memory. ```shell $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \ - --version=0.15.0-rc.1 \ + --version=0.15.0-rc.2 \ --namespace nvidia-device-plugin \ --create-namespace \ --set compatWithCPUManager=true \ @@ -805,7 +805,7 @@ $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \ Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy` ```shell $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \ - --version=0.15.0-rc.1 \ + --version=0.15.0-rc.2 \ --namespace nvidia-device-plugin \ --create-namespace \ --set compatWithCPUManager=true \ @@ -824,7 +824,7 @@ Discovery to perform this labeling. To enable it, simply set `gfd.enabled=true` during helm install. ``` helm upgrade -i nvdp nvdp/nvidia-device-plugin \ - --version=0.15.0-rc.1 \ + --version=0.15.0-rc.2 \ --namespace nvidia-device-plugin \ --create-namespace \ --set gfd.enabled=true @@ -930,14 +930,14 @@ Using the default values for the flags: $ helm upgrade -i nvdp \ --namespace nvidia-device-plugin \ --create-namespace \ - https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.15.0-rc.1.tgz + https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.15.0-rc.2.tgz ``` --> ## Building and Running Locally The next sections are focused on building the device plugin locally and running it. It is intended purely for development and testing, and not required by most users. -It assumes you are pinning to the latest release tag (i.e. `v0.15.0-rc.1`), but can +It assumes you are pinning to the latest release tag (i.e. `v0.15.0-rc.2`), but can easily be modified to work with any available tag or branch. ### With Docker @@ -945,8 +945,8 @@ easily be modified to work with any available tag or branch. #### Build Option 1, pull the prebuilt image from [Docker Hub](https://hub.docker.com/r/nvidia/k8s-device-plugin): ```shell -$ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.15.0-rc.1 -$ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.15.0-rc.1 nvcr.io/nvidia/k8s-device-plugin:devel +$ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.15.0-rc.2 +$ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.15.0-rc.2 nvcr.io/nvidia/k8s-device-plugin:devel ``` Option 2, build without cloning the repository: @@ -954,7 +954,7 @@ Option 2, build without cloning the repository: $ docker build \ -t nvcr.io/nvidia/k8s-device-plugin:devel \ -f deployments/container/Dockerfile.ubuntu \ - https://github.com/NVIDIA/k8s-device-plugin.git#v0.15.0-rc.1 + https://github.com/NVIDIA/k8s-device-plugin.git#v0.15.0-rc.2 ``` Option 3, if you want to modify the code: diff --git a/RELEASE.md b/RELEASE.md index 0611ead59..f5ee45fec 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -9,7 +9,7 @@ Publishing the helm chart is currently manual, and we should move to an automate # Release Process Checklist - [ ] Update the README changelog -- [ ] Update the README to change occurances of the old version (e.g: `v0.15.0-rc.1`) with the new version +- [ ] Update the README to change occurances of the old version (e.g: `v0.15.0-rc.2`) with the new version - [ ] Commit, Tag and Push to Gitlab - [ ] Build a new helm package with `./hack/package-helm-charts.sh` - [ ] Switch to the `gh-pages` branch and move the newly generated package to the `stable` helm repo