Skip to content

Commit cb0c601

Browse files
authored
Merge pull request #1197 from elezar/bump-release-v0.17.1
Bump versions to v0.17.1 post-release
2 parents 1b1ddb7 + 464f389 commit cb0c601

10 files changed

+48
-40
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
## Changelog
22

3+
### Version v0.17.1
4+
- Ensure that generated CDI specs do not contain `enable-cuda-compat` hooks
5+
- Remove nvidia.com/gpu.imex-domain label
6+
- Ignore XID error 109
7+
- Add `ada-lovelace` architecture label for compute capability 8.9
8+
- Ensure FAIL_ON_INIT_ERROR boolean env is quoted
9+
- Honor fail-on-init-error when no resources are found
10+
311
### v0.17.0
412
- Promote v0.17.0-rc.1 to GA
513

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Once you have configured the options above on all the GPU nodes in your
147147
cluster, you can enable GPU support by deploying the following Daemonset:
148148

149149
```shell
150-
kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.17.0/deployments/static/nvidia-device-plugin.yml
150+
kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.17.1/deployments/static/nvidia-device-plugin.yml
151151
```
152152

153153
**Note:** This is a simple static daemonset meant to demonstrate the basic
@@ -636,12 +636,12 @@ helm repo add nvdp https://nvidia.github.io/k8s-device-plugin
636636
helm repo update
637637
```
638638

639-
Then verify that the latest release (`v0.17.0`) of the plugin is available:
639+
Then verify that the latest release (`v0.17.1`) of the plugin is available:
640640

641641
```shell
642642
$ helm search repo nvdp --devel
643643
NAME CHART VERSION APP VERSION DESCRIPTION
644-
nvdp/nvidia-device-plugin 0.17.0 0.17.0 A Helm chart for ...
644+
nvdp/nvidia-device-plugin 0.17.1 0.17.1 A Helm chart for ...
645645
```
646646

647647
Once this repo is updated, you can begin installing packages from it to deploy
@@ -653,7 +653,7 @@ The most basic installation command without any options is then:
653653
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
654654
--namespace nvidia-device-plugin \
655655
--create-namespace \
656-
--version 0.17.0
656+
--version 0.17.1
657657
```
658658

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

663663
### Configuring the device plugin's `helm` chart
664664

665-
The `helm` chart for the latest release of the plugin (`v0.17.0`) includes
665+
The `helm` chart for the latest release of the plugin (`v0.17.1`) includes
666666
a number of customizable values.
667667

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

674674
The full set of values that can be set are found here:
675-
[here](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.17.0/deployments/helm/nvidia-device-plugin/values.yaml).
675+
[here](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.17.1/deployments/helm/nvidia-device-plugin/values.yaml).
676676

677677
#### Passing configuration to the plugin via a `ConfigMap`
678678

@@ -715,7 +715,7 @@ And deploy the device plugin via helm (pointing it at this config file and givin
715715

716716
```shell
717717
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
718-
--version=0.17.0 \
718+
--version=0.17.1 \
719719
--namespace nvidia-device-plugin \
720720
--create-namespace \
721721
--set-file config.map.config=/tmp/dp-example-config0.yaml
@@ -740,7 +740,7 @@ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
740740

741741
```shell
742742
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
743-
--version=0.17.0 \
743+
--version=0.17.1 \
744744
--namespace nvidia-device-plugin \
745745
--create-namespace \
746746
--set config.name=nvidia-plugin-configs
@@ -770,7 +770,7 @@ And redeploy the device plugin via helm (pointing it at both configs with a spec
770770

771771
```shell
772772
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
773-
--version=0.17.0 \
773+
--version=0.17.1 \
774774
--namespace nvidia-device-plugin \
775775
--create-namespace \
776776
--set config.default=config0 \
@@ -792,7 +792,7 @@ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
792792

793793
```shell
794794
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
795-
--version=0.17.0 \
795+
--version=0.17.1 \
796796
--namespace nvidia-device-plugin \
797797
--create-namespace \
798798
--set config.default=config0 \
@@ -878,7 +878,7 @@ runtimeClassName:
878878
```
879879

880880
Please take a look in the
881-
[`values.yaml`](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.17.0/deployments/helm/nvidia-device-plugin/values.yaml)
881+
[`values.yaml`](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.17.1/deployments/helm/nvidia-device-plugin/values.yaml)
882882
file to see the full set of overridable parameters for the device plugin.
883883

884884
Examples of setting these options include:
@@ -888,7 +888,7 @@ Enabling compatibility with the `CPUManager` and running with a request for
888888

889889
```shell
890890
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
891-
--version=0.17.0 \
891+
--version=0.17.1 \
892892
--namespace nvidia-device-plugin \
893893
--create-namespace \
894894
--set compatWithCPUManager=true \
@@ -900,7 +900,7 @@ Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy`.
900900

901901
```shell
902902
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
903-
--version=0.17.0 \
903+
--version=0.17.1 \
904904
--namespace nvidia-device-plugin \
905905
--create-namespace \
906906
--set compatWithCPUManager=true \
@@ -919,7 +919,7 @@ To enable it, simply set `gfd.enabled=true` during helm install.
919919

920920
```shell
921921
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
922-
--version=0.17.0 \
922+
--version=0.17.1 \
923923
--namespace nvidia-device-plugin \
924924
--create-namespace \
925925
--set gfd.enabled=true
@@ -977,13 +977,13 @@ helm repo add nvdp https://nvidia.github.io/k8s-device-plugin
977977
helm repo update
978978
```
979979

980-
Then verify that the latest release (`v0.17.0`) of the plugin is available
980+
Then verify that the latest release (`v0.17.1`) of the plugin is available
981981
(Note that this includes the GFD chart):
982982

983983
```shell
984984
helm search repo nvdp --devel
985985
NAME CHART VERSION APP VERSION DESCRIPTION
986-
nvdp/nvidia-device-plugin 0.17.0 0.17.0 A Helm chart for ...
986+
nvdp/nvidia-device-plugin 0.17.1 0.17.1 A Helm chart for ...
987987
```
988988

989989
Once this repo is updated, you can begin installing packages from it to deploy
@@ -993,7 +993,7 @@ The most basic installation command without any options is then:
993993

994994
```shell
995995
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
996-
--version 0.17.0 \
996+
--version 0.17.1 \
997997
--namespace gpu-feature-discovery \
998998
--create-namespace \
999999
--set devicePlugin.enabled=false
@@ -1004,7 +1004,7 @@ the default namespace.
10041004

10051005
```shell
10061006
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
1007-
--version=0.17.0 \
1007+
--version=0.17.1 \
10081008
--set allowDefaultNamespace=true \
10091009
--set nfd.enabled=false \
10101010
--set migStrategy=mixed \
@@ -1028,14 +1028,14 @@ Using the default values for the flags:
10281028
helm upgrade -i nvdp \
10291029
--namespace nvidia-device-plugin \
10301030
--create-namespace \
1031-
https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.17.0.tgz
1031+
https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.17.1.tgz
10321032
```
10331033

10341034
## Building and Running Locally
10351035

10361036
The next sections are focused on building the device plugin locally and running it.
10371037
It is intended purely for development and testing, and not required by most users.
1038-
It assumes you are pinning to the latest release tag (i.e. `v0.17.0`), but can
1038+
It assumes you are pinning to the latest release tag (i.e. `v0.17.1`), but can
10391039
easily be modified to work with any available tag or branch.
10401040

10411041
### With Docker
@@ -1045,8 +1045,8 @@ easily be modified to work with any available tag or branch.
10451045
Option 1, pull the prebuilt image from [Docker Hub](https://hub.docker.com/r/nvidia/k8s-device-plugin):
10461046

10471047
```shell
1048-
docker pull nvcr.io/nvidia/k8s-device-plugin:v0.17.0
1049-
docker tag nvcr.io/nvidia/k8s-device-plugin:v0.17.0 nvcr.io/nvidia/k8s-device-plugin:devel
1048+
docker pull nvcr.io/nvidia/k8s-device-plugin:v0.17.1
1049+
docker tag nvcr.io/nvidia/k8s-device-plugin:v0.17.1 nvcr.io/nvidia/k8s-device-plugin:devel
10501050
```
10511051

10521052
Option 2, build without cloning the repository:
@@ -1055,7 +1055,7 @@ Option 2, build without cloning the repository:
10551055
docker build \
10561056
-t nvcr.io/nvidia/k8s-device-plugin:devel \
10571057
-f deployments/container/Dockerfile.ubuntu \
1058-
https://github.com/NVIDIA/k8s-device-plugin.git#v0.17.0
1058+
https://github.com/NVIDIA/k8s-device-plugin.git#v0.17.1
10591059
```
10601060

10611061
Option 3, if you want to modify the code:

deployments/helm/nvidia-device-plugin/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: nvidia-device-plugin
33
type: application
44
description: A Helm chart for the nvidia-device-plugin on Kubernetes
5-
version: "0.17.0"
6-
appVersion: "0.17.0"
5+
version: "0.17.1"
6+
appVersion: "0.17.1"
77
kubeVersion: ">= 1.10.0-0"
88
home: https://github.com/NVIDIA/k8s-device-plugin
99

deployments/static/gpu-feature-discovery-daemonset-with-mig-mixed.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: gpu-feature-discovery
55
labels:
66
app.kubernetes.io/name: gpu-feature-discovery
7-
app.kubernetes.io/version: 0.17.0
7+
app.kubernetes.io/version: 0.17.1
88
app.kubernetes.io/part-of: nvidia-gpu
99
spec:
1010
selector:
@@ -15,11 +15,11 @@ spec:
1515
metadata:
1616
labels:
1717
app.kubernetes.io/name: gpu-feature-discovery
18-
app.kubernetes.io/version: 0.17.0
18+
app.kubernetes.io/version: 0.17.1
1919
app.kubernetes.io/part-of: nvidia-gpu
2020
spec:
2121
containers:
22-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.0
22+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.1
2323
name: gpu-feature-discovery
2424
command: ["/usr/bin/gpu-feature-discovery"]
2525
volumeMounts:

deployments/static/gpu-feature-discovery-daemonset-with-mig-single.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: gpu-feature-discovery
55
labels:
66
app.kubernetes.io/name: gpu-feature-discovery
7-
app.kubernetes.io/version: 0.17.0
7+
app.kubernetes.io/version: 0.17.1
88
app.kubernetes.io/part-of: nvidia-gpu
99
spec:
1010
selector:
@@ -15,11 +15,11 @@ spec:
1515
metadata:
1616
labels:
1717
app.kubernetes.io/name: gpu-feature-discovery
18-
app.kubernetes.io/version: 0.17.0
18+
app.kubernetes.io/version: 0.17.1
1919
app.kubernetes.io/part-of: nvidia-gpu
2020
spec:
2121
containers:
22-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.0
22+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.1
2323
name: gpu-feature-discovery
2424
command: ["/usr/bin/gpu-feature-discovery"]
2525
volumeMounts:

deployments/static/gpu-feature-discovery-daemonset.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: gpu-feature-discovery
55
labels:
66
app.kubernetes.io/name: gpu-feature-discovery
7-
app.kubernetes.io/version: 0.17.0
7+
app.kubernetes.io/version: 0.17.1
88
app.kubernetes.io/part-of: nvidia-gpu
99
spec:
1010
selector:
@@ -15,11 +15,11 @@ spec:
1515
metadata:
1616
labels:
1717
app.kubernetes.io/name: gpu-feature-discovery
18-
app.kubernetes.io/version: 0.17.0
18+
app.kubernetes.io/version: 0.17.1
1919
app.kubernetes.io/part-of: nvidia-gpu
2020
spec:
2121
containers:
22-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.0
22+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.1
2323
name: gpu-feature-discovery
2424
command: ["/usr/bin/gpu-feature-discovery"]
2525
volumeMounts:

deployments/static/gpu-feature-discovery-job.yaml.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ metadata:
44
name: gpu-feature-discovery
55
labels:
66
app.kubernetes.io/name: gpu-feature-discovery
7-
app.kubernetes.io/version: 0.17.0
7+
app.kubernetes.io/version: 0.17.1
88
app.kubernetes.io/part-of: nvidia-gpu
99
spec:
1010
template:
1111
metadata:
1212
labels:
1313
app.kubernetes.io/name: gpu-feature-discovery
14-
app.kubernetes.io/version: 0.17.0
14+
app.kubernetes.io/version: 0.17.1
1515
app.kubernetes.io/part-of: nvidia-gpu
1616
spec:
1717
nodeName: NODE_NAME
1818
containers:
19-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.0
19+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.1
2020
name: gpu-feature-discovery
2121
command: ["/usr/bin/gpu-feature-discovery"]
2222
args:

deployments/static/nvidia-device-plugin-compat-with-cpumanager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
3939
priorityClassName: "system-node-critical"
4040
containers:
41-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.0
41+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.1
4242
name: nvidia-device-plugin-ctr
4343
env:
4444
- name: FAIL_ON_INIT_ERROR

deployments/static/nvidia-device-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
3939
priorityClassName: "system-node-critical"
4040
containers:
41-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.0
41+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.1
4242
name: nvidia-device-plugin-ctr
4343
env:
4444
- name: FAIL_ON_INIT_ERROR

versions.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ MODULE := github.com/NVIDIA/$(DRIVER_NAME)
1717

1818
REGISTRY ?= nvcr.io/nvidia
1919

20-
VERSION ?= v0.17.0
20+
VERSION ?= v0.17.1
2121

2222
# vVERSION represents the version with a guaranteed v-prefix
2323
vVERSION := v$(VERSION:v%=%)

0 commit comments

Comments
 (0)