diff --git a/README.md b/README.md index f8fede77a..4b6540be5 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,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.12.0-rc.3/nvidia-device-plugin.yml +$ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.12.0-rc.4/nvidia-device-plugin.yml ``` **Note:** This is a simple static daemonset meant to demonstrate the basic @@ -123,7 +123,7 @@ The preferred method to deploy the device plugin is as a daemonset using `helm`. Instructions for installing `helm` can be found [here](https://helm.sh/docs/intro/install/). -The `helm` chart for the latest release of the plugin (`v0.12.0-rc.3`) includes +The `helm` chart for the latest release of the plugin (`v0.12.0-rc.4`) includes a number of customizable values. The most commonly overridden ones are: ``` @@ -207,7 +207,7 @@ attached to them. Please take a look in the following `values.yaml` file to see the full set of overridable parameters for the device plugin. -* https://github.com/NVIDIA/k8s-device-plugin/blob/v0.12.0-rc.3/deployments/helm/nvidia-device-plugin/values.yaml +* https://github.com/NVIDIA/k8s-device-plugin/blob/v0.12.0-rc.4/deployments/helm/nvidia-device-plugin/values.yaml #### Installing via `helm install`from the `nvidia-device-plugin` `helm` repository @@ -230,7 +230,7 @@ plugin with the various flags from above. Using the default values for the flags: ```shell $ helm install \ - --version=0.12.0-rc.3 \ + --version=0.12.0-rc.4 \ --generate-name \ nvdp/nvidia-device-plugin ``` @@ -239,7 +239,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 install \ - --version=0.12.0-rc.3 \ + --version=0.12.0-rc.4 \ --generate-name \ --set compatWithCPUManager=true \ --set resources.requests.cpu=100m \ @@ -250,7 +250,7 @@ $ helm install \ Use the legacy Daemonset API (only available on Kubernetes < `v1.16`): ```shell $ helm install \ - --version=0.12.0-rc.3 \ + --version=0.12.0-rc.4 \ --generate-name \ --set legacyDaemonsetAPI=true \ nvdp/nvidia-device-plugin @@ -259,7 +259,7 @@ $ helm install \ Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy` ```shell $ helm install \ - --version=0.12.0-rc.3 \ + --version=0.12.0-rc.4 \ --generate-name \ --set compatWithCPUManager=true \ --set migStrategy=mixed \ @@ -277,7 +277,7 @@ Using the default values for the flags: ```shell $ helm install \ --generate-name \ - https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.3.tgz + https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.4.tgz ``` Enabling compatibility with the `CPUManager` and running with a request for @@ -288,7 +288,7 @@ $ helm install \ --set compatWithCPUManager=true \ --set resources.requests.cpu=100m \ --set resources.limits.memory=512Mi \ - https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.3.tgz + https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.4.tgz ``` Use the legacy Daemonset API (only available on Kubernetes < `v1.16`): @@ -296,7 +296,7 @@ Use the legacy Daemonset API (only available on Kubernetes < `v1.16`): $ helm install \ --generate-name \ --set legacyDaemonsetAPI=true \ - https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.3.tgz + https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.4.tgz ``` Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy` @@ -305,14 +305,14 @@ $ helm install \ --generate-name \ --set compatWithCPUManager=true \ --set migStrategy=mixed \ - https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.3.tgz + https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.4.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.12.0-rc.3`), but can +It assumes you are pinning to the latest release tag (i.e. `v0.12.0-rc.4`), but can easily be modified to work with any available tag or branch. ### With Docker @@ -320,8 +320,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.12.0-rc.3 -$ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.12.0-rc.3 nvcr.io/nvidia/k8s-device-plugin:devel +$ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.12.0-rc.4 +$ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.12.0-rc.4 nvcr.io/nvidia/k8s-device-plugin:devel ``` Option 2, build without cloning the repository: @@ -329,7 +329,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.12.0-rc.3 + https://github.com/NVIDIA/k8s-device-plugin.git#v0.12.0-rc.4 ``` Option 3, if you want to modify the code: @@ -383,6 +383,15 @@ $ ./k8s-device-plugin --pass-device-specs ## Changelog +### Version v0.12.0-rc.4 + +- Make GFD and NFD (optional) subcharts of the device plugin's helm chart +- Add new config-manager binary to run as sidecar and update the plugin's configuration via a node label +- Add support to helm to provide multiple config files for the config map +- Refactor main to allow configs to be reloaded across a (soft) restart +- Add field for `TimeSlicing.RenameByDefault` to rename all replicated resources to `.shared` +- Disable support for resource-renaming in the config (will no longer be part of this release) + ### Version v0.12.0-rc.3 - Add ability to parse Duration fields from config file diff --git a/RELEASE.md b/RELEASE.md index 94544aab8..82d2fe9c2 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.12.0-rc.3`) with the new version +- [ ] Update the README to change occurances of the old version (e.g: `v0.12.0-rc.4`) with the new version - [ ] Commit, Tag and Push to Gitlab - [ ] Build a new helm package with `helm package ./deployments/helm/nvidia-device-plugin` - [ ] Switch to the `gh-pages` branch and move the newly generated package to the `stable` helm repo