Skip to content

Commit 0930c36

Browse files
author
Evan Lezar
committed
Merge branch 'update-readme-0.13.0-rc.1' into 'release-0.13'
Update README and RELEASE to v0.13.0-rc.1 See merge request nvidia/kubernetes/device-plugin!215
2 parents 3c33fa9 + d10f2dd commit 0930c36

File tree

2 files changed

+33
-23
lines changed

2 files changed

+33
-23
lines changed

README.md

Lines changed: 32 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Please note that:
4848

4949
The list of prerequisites for running the NVIDIA device plugin is described below:
5050
* NVIDIA drivers ~= 384.81
51-
* nvidia-docker >= 2.0 || nvidia-container-toolkit >= 1.7.0
51+
* nvidia-docker >= 2.0 || nvidia-container-toolkit >= 1.7.0 (>= 1.11.0 to use integrated GPUs on Tegra-based systems)
5252
* nvidia-container-runtime configured as the default low-level runtime
5353
* Kubernetes version >= 1.10
5454

@@ -124,7 +124,7 @@ Once you have configured the options above on all the GPU nodes in your
124124
cluster, you can enable GPU support by deploying the following Daemonset:
125125

126126
```shell
127-
$ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.12.3/nvidia-device-plugin.yml
127+
$ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.13.0-rc.1/nvidia-device-plugin.yml
128128
```
129129

130130
**Note:** This is a simple static daemonset meant to demonstrate the basic
@@ -462,11 +462,11 @@ $ helm repo add nvdp https://nvidia.github.io/k8s-device-plugin
462462
$ helm repo update
463463
```
464464

465-
Then verify that the latest release (`v0.12.3`) of the plugin is available:
465+
Then verify that the latest release (`v0.13.0-rc.1`) of the plugin is available:
466466
```
467467
$ helm search repo nvdp --devel
468468
NAME CHART VERSION APP VERSION DESCRIPTION
469-
nvdp/nvidia-device-plugin 0.12.3 0.12.3 A Helm chart for ...
469+
nvdp/nvidia-device-plugin 0.13.0-rc.1 0.13.0-rc.1 A Helm chart for ...
470470
```
471471

472472
Once this repo is updated, you can begin installing packages from it to deploy
@@ -477,7 +477,7 @@ The most basic installation command without any options is then:
477477
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
478478
--namespace nvidia-device-plugin \
479479
--create-namespace \
480-
--version 0.12.3
480+
--version 0.13.0-rc.1
481481
```
482482

483483
**Note:** You only need the to pass the `--devel` flag to `helm search repo`
@@ -486,7 +486,7 @@ version (e.g. `<version>-rc.1`). Full releases will be listed without this.
486486

487487
### Configuring the device plugin's `helm` chart
488488

489-
The `helm` chart for the latest release of the plugin (`v0.12.3`) includes
489+
The `helm` chart for the latest release of the plugin (`v0.13.0-rc.1`) includes
490490
a number of customizable values.
491491

492492
Prior to `v0.12.0` the most commonly used values were those that had direct
@@ -496,7 +496,7 @@ case of the original values is then to override an option from the `ConfigMap`
496496
if desired. Both methods are discussed in more detail below.
497497

498498
The full set of values that can be set are found here:
499-
[here](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.12.3/deployments/helm/nvidia-device-plugin/values.yaml).
499+
[here](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.13.0-rc.1/deployments/helm/nvidia-device-plugin/values.yaml).
500500

501501
#### Passing configuration to the plugin via a `ConfigMap`.
502502

@@ -535,7 +535,7 @@ EOF
535535
And deploy the device plugin via helm (pointing it at this config file and giving it a name):
536536
```
537537
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
538-
--version=0.12.3 \
538+
--version=0.13.0-rc.1 \
539539
--namespace nvidia-device-plugin \
540540
--create-namespace \
541541
--set-file config.map.config=/tmp/dp-example-config0.yaml
@@ -557,7 +557,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
557557
```
558558
```
559559
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
560-
--version=0.12.3 \
560+
--version=0.13.0-rc.1 \
561561
--namespace nvidia-device-plugin \
562562
--create-namespace \
563563
--set config.name=nvidia-plugin-configs
@@ -585,7 +585,7 @@ EOF
585585
And redeploy the device plugin via helm (pointing it at both configs with a specified default).
586586
```
587587
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
588-
--version=0.12.3 \
588+
--version=0.13.0-rc.1 \
589589
--namespace nvidia-device-plugin \
590590
--create-namespace \
591591
--set config.default=config0 \
@@ -604,7 +604,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
604604
```
605605
```
606606
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
607-
--version=0.12.3 \
607+
--version=0.13.0-rc.1 \
608608
--namespace nvidia-device-plugin \
609609
--create-namespace \
610610
--set config.default=config0 \
@@ -690,7 +690,7 @@ chart values that are commonly overridden are:
690690
```
691691

692692
Please take a look in the
693-
[`values.yaml`](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.12.3/deployments/helm/nvidia-device-plugin/values.yaml)
693+
[`values.yaml`](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.13.0-rc.1/deployments/helm/nvidia-device-plugin/values.yaml)
694694
file to see the full set of overridable parameters for the device plugin.
695695

696696
Examples of setting these options include:
@@ -699,7 +699,7 @@ Enabling compatibility with the `CPUManager` and running with a request for
699699
100ms of CPU time and a limit of 512MB of memory.
700700
```shell
701701
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
702-
--version=0.12.3 \
702+
--version=0.13.0-rc.1 \
703703
--namespace nvidia-device-plugin \
704704
--create-namespace \
705705
--set compatWithCPUManager=true \
@@ -710,7 +710,7 @@ $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
710710
Using the legacy Daemonset API (only available on Kubernetes < `v1.16`):
711711
```shell
712712
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
713-
--version=0.12.3 \
713+
--version=0.13.0-rc.1 \
714714
--namespace nvidia-device-plugin \
715715
--create-namespace \
716716
--set legacyDaemonsetAPI=true
@@ -719,7 +719,7 @@ $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
719719
Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy`
720720
```shell
721721
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
722-
--version=0.12.3 \
722+
--version=0.13.0-rc.1 \
723723
--namespace nvidia-device-plugin \
724724
--create-namespace \
725725
--set compatWithCPUManager=true \
@@ -738,7 +738,7 @@ Discovery to perform this labeling.
738738
To enable it, simply set `gfd.enabled=true` during helm install.
739739
```
740740
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
741-
--version=0.12.3 \
741+
--version=0.13.0-rc.1 \
742742
--namespace nvidia-device-plugin \
743743
--create-namespace \
744744
--set gfd.enabled=true
@@ -758,7 +758,7 @@ described [above](#shared-access-to-gpus-with-cuda-time-slicing).
758758
nvidia.com/<resource-name>.replicas = <num-replicas>
759759
```
760760

761-
Additionally, the `nvidia.com/<resource-name>.product` will be modified as follows if
761+
Additionally, the `nvidia.com/<resource-name>.product` will be modified as follows if
762762
`renameByDefault=false`.
763763
```
764764
nvidia.com/<resource-name>.product = <product name>-SHARED
@@ -793,31 +793,31 @@ Using the default values for the flags:
793793
$ helm upgrade -i nvdp \
794794
--namespace nvidia-device-plugin \
795795
--create-namespace \
796-
https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.3.tgz
796+
https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.13.0-rc.1.tgz
797797
```
798798

799799
## Building and Running Locally
800800

801801
The next sections are focused on building the device plugin locally and running it.
802802
It is intended purely for development and testing, and not required by most users.
803-
It assumes you are pinning to the latest release tag (i.e. `v0.12.3`), but can
803+
It assumes you are pinning to the latest release tag (i.e. `v0.13.0-rc.1`), but can
804804
easily be modified to work with any available tag or branch.
805805

806806
### With Docker
807807

808808
#### Build
809809
Option 1, pull the prebuilt image from [Docker Hub](https://hub.docker.com/r/nvidia/k8s-device-plugin):
810810
```shell
811-
$ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.12.3
812-
$ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.12.3 nvcr.io/nvidia/k8s-device-plugin:devel
811+
$ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.13.0-rc.1
812+
$ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.13.0-rc.1 nvcr.io/nvidia/k8s-device-plugin:devel
813813
```
814814

815815
Option 2, build without cloning the repository:
816816
```shell
817817
$ docker build \
818818
-t nvcr.io/nvidia/k8s-device-plugin:devel \
819819
-f deployments/container/Dockerfile.ubuntu \
820-
https://github.com/NVIDIA/k8s-device-plugin.git#v0.12.3
820+
https://github.com/NVIDIA/k8s-device-plugin.git#v0.13.0-rc.1
821821
```
822822

823823
Option 3, if you want to modify the code:
@@ -871,6 +871,16 @@ $ ./k8s-device-plugin --pass-device-specs
871871

872872
## Changelog
873873

874+
### Version v0.13.0-rc.1
875+
876+
- Improve health checks to detect errors when waiting on device events
877+
- Log ECC error events detected during health check
878+
- Add the GIT sha to version information for the CLI and container images
879+
- Use NVML interfaces from go-nvlib to query devices
880+
- Refactor plugin creation from resources
881+
- Add a CUDA-based resource manager that can be used to expose integrated devices on Tegra-based systems
882+
- Bump GFD subchart to version 0.7.0-rc.1
883+
874884
### Version v0.12.3
875885

876886
- Bump cuda base image to 11.7.1

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Publishing the helm chart is currently manual, and we should move to an automate
99

1010
# Release Process Checklist
1111
- [ ] Update the README changelog
12-
- [ ] Update the README to change occurances of the old version (e.g: `v0.12.3`) with the new version
12+
- [ ] Update the README to change occurances of the old version (e.g: `v0.13.0-rc.1`) with the new version
1313
- [ ] Commit, Tag and Push to Gitlab
1414
- [ ] Build a new helm package with `helm package ./deployments/helm/nvidia-device-plugin`
1515
- [ ] Switch to the `gh-pages` branch and move the newly generated package to the `stable` helm repo

0 commit comments

Comments
 (0)