Skip to content

Commit 390b1f6

Browse files
authored
Merge pull request #1263 from elezar/bump-release-v0.17.2
Bump release v0.17.2
2 parents a14391e + 6f85a49 commit 390b1f6

10 files changed

+44
-40
lines changed

CHANGELOG.md

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

3+
### Version v0.17.2
4+
- Update nvidia.com/gpu.product label to include blackwell architectures
5+
- Update documentation to indicate that nvidia.com/gpu.memory label is in MiB instead of MB
6+
37
### Version v0.17.1
48
- Ensure that generated CDI specs do not contain `enable-cuda-compat` hooks
59
- Remove nvidia.com/gpu.imex-domain label

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.1/deployments/static/nvidia-device-plugin.yml
150+
kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.17.2/deployments/static/nvidia-device-plugin.yml
151151
```
152152

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

642-
Then verify that the latest release (`v0.17.1`) of the plugin is available:
642+
Then verify that the latest release (`v0.17.2`) of the plugin is available:
643643

644644
```shell
645645
$ helm search repo nvdp --devel
646646
NAME CHART VERSION APP VERSION DESCRIPTION
647-
nvdp/nvidia-device-plugin 0.17.1 0.17.1 A Helm chart for ...
647+
nvdp/nvidia-device-plugin 0.17.2 0.17.2 A Helm chart for ...
648648
```
649649

650650
Once this repo is updated, you can begin installing packages from it to deploy
@@ -656,7 +656,7 @@ The most basic installation command without any options is then:
656656
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
657657
--namespace nvidia-device-plugin \
658658
--create-namespace \
659-
--version 0.17.1
659+
--version 0.17.2
660660
```
661661

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

666666
### Configuring the device plugin's `helm` chart
667667

668-
The `helm` chart for the latest release of the plugin (`v0.17.1`) includes
668+
The `helm` chart for the latest release of the plugin (`v0.17.2`) includes
669669
a number of customizable values.
670670

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

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

680680
#### Passing configuration to the plugin via a `ConfigMap`
681681

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

719719
```shell
720720
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
721-
--version=0.17.1 \
721+
--version=0.17.2 \
722722
--namespace nvidia-device-plugin \
723723
--create-namespace \
724724
--set-file config.map.config=/tmp/dp-example-config0.yaml
@@ -743,7 +743,7 @@ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
743743

744744
```shell
745745
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
746-
--version=0.17.1 \
746+
--version=0.17.2 \
747747
--namespace nvidia-device-plugin \
748748
--create-namespace \
749749
--set config.name=nvidia-plugin-configs
@@ -773,7 +773,7 @@ And redeploy the device plugin via helm (pointing it at both configs with a spec
773773

774774
```shell
775775
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
776-
--version=0.17.1 \
776+
--version=0.17.2 \
777777
--namespace nvidia-device-plugin \
778778
--create-namespace \
779779
--set config.default=config0 \
@@ -795,7 +795,7 @@ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
795795

796796
```shell
797797
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
798-
--version=0.17.1 \
798+
--version=0.17.2 \
799799
--namespace nvidia-device-plugin \
800800
--create-namespace \
801801
--set config.default=config0 \
@@ -881,7 +881,7 @@ runtimeClassName:
881881
```
882882

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

887887
Examples of setting these options include:
@@ -891,7 +891,7 @@ Enabling compatibility with the `CPUManager` and running with a request for
891891

892892
```shell
893893
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
894-
--version=0.17.1 \
894+
--version=0.17.2 \
895895
--namespace nvidia-device-plugin \
896896
--create-namespace \
897897
--set compatWithCPUManager=true \
@@ -903,7 +903,7 @@ Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy`.
903903

904904
```shell
905905
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
906-
--version=0.17.1 \
906+
--version=0.17.2 \
907907
--namespace nvidia-device-plugin \
908908
--create-namespace \
909909
--set compatWithCPUManager=true \
@@ -922,7 +922,7 @@ To enable it, simply set `gfd.enabled=true` during helm install.
922922

923923
```shell
924924
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
925-
--version=0.17.1 \
925+
--version=0.17.2 \
926926
--namespace nvidia-device-plugin \
927927
--create-namespace \
928928
--set gfd.enabled=true
@@ -980,13 +980,13 @@ helm repo add nvdp https://nvidia.github.io/k8s-device-plugin
980980
helm repo update
981981
```
982982

983-
Then verify that the latest release (`v0.17.1`) of the plugin is available
983+
Then verify that the latest release (`v0.17.2`) of the plugin is available
984984
(Note that this includes the GFD chart):
985985

986986
```shell
987987
helm search repo nvdp --devel
988988
NAME CHART VERSION APP VERSION DESCRIPTION
989-
nvdp/nvidia-device-plugin 0.17.1 0.17.1 A Helm chart for ...
989+
nvdp/nvidia-device-plugin 0.17.2 0.17.2 A Helm chart for ...
990990
```
991991

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

997997
```shell
998998
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
999-
--version 0.17.1 \
999+
--version 0.17.2 \
10001000
--namespace gpu-feature-discovery \
10011001
--create-namespace \
10021002
--set devicePlugin.enabled=false
@@ -1007,7 +1007,7 @@ the default namespace.
10071007

10081008
```shell
10091009
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
1010-
--version=0.17.1 \
1010+
--version=0.17.2 \
10111011
--set allowDefaultNamespace=true \
10121012
--set nfd.enabled=false \
10131013
--set migStrategy=mixed \
@@ -1031,14 +1031,14 @@ Using the default values for the flags:
10311031
helm upgrade -i nvdp \
10321032
--namespace nvidia-device-plugin \
10331033
--create-namespace \
1034-
https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.17.1.tgz
1034+
https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.17.2.tgz
10351035
```
10361036

10371037
## Building and Running Locally
10381038

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

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

10501050
```shell
1051-
docker pull nvcr.io/nvidia/k8s-device-plugin:v0.17.1
1052-
docker tag nvcr.io/nvidia/k8s-device-plugin:v0.17.1 nvcr.io/nvidia/k8s-device-plugin:devel
1051+
docker pull nvcr.io/nvidia/k8s-device-plugin:v0.17.2
1052+
docker tag nvcr.io/nvidia/k8s-device-plugin:v0.17.2 nvcr.io/nvidia/k8s-device-plugin:devel
10531053
```
10541054

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

10641064
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.1"
6-
appVersion: "0.17.1"
5+
version: "0.17.2"
6+
appVersion: "0.17.2"
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.1
7+
app.kubernetes.io/version: 0.17.2
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.1
18+
app.kubernetes.io/version: 0.17.2
1919
app.kubernetes.io/part-of: nvidia-gpu
2020
spec:
2121
containers:
22-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.1
22+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.2
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.1
7+
app.kubernetes.io/version: 0.17.2
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.1
18+
app.kubernetes.io/version: 0.17.2
1919
app.kubernetes.io/part-of: nvidia-gpu
2020
spec:
2121
containers:
22-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.1
22+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.2
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.1
7+
app.kubernetes.io/version: 0.17.2
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.1
18+
app.kubernetes.io/version: 0.17.2
1919
app.kubernetes.io/part-of: nvidia-gpu
2020
spec:
2121
containers:
22-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.1
22+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.2
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.1
7+
app.kubernetes.io/version: 0.17.2
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.1
14+
app.kubernetes.io/version: 0.17.2
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.1
19+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.2
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.1
41+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.2
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.1
41+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.17.2
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.1
20+
VERSION ?= v0.17.2
2121

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

0 commit comments

Comments
 (0)