Skip to content

Commit 3d549fb

Browse files
authored
Merge pull request #564 from elezar/cherry-pick-v0.14.5
Cherry pick v0.14.5
2 parents 346ec80 + 0d9fb46 commit 3d549fb

8 files changed

+33
-29
lines changed

README.md

+24-20
Original file line numberDiff line numberDiff line change
@@ -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.14.4/nvidia-device-plugin.yml
127+
$ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.14.5/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.14.4`) of the plugin is available:
465+
Then verify that the latest release (`v0.14.5`) 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.14.4 0.14.4 A Helm chart for ...
469+
nvdp/nvidia-device-plugin 0.14.5 0.14.5 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.14.4
480+
--version 0.14.5
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.14.4`) includes
489+
The `helm` chart for the latest release of the plugin (`v0.14.5`) 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.14.4/deployments/helm/nvidia-device-plugin/values.yaml).
499+
[here](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.14.5/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.14.4 \
538+
--version=0.14.5 \
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.14.4 \
560+
--version=0.14.5 \
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.14.4 \
588+
--version=0.14.5 \
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.14.4 \
607+
--version=0.14.5 \
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.14.4/deployments/helm/nvidia-device-plugin/values.yaml)
693+
[`values.yaml`](https://github.com/NVIDIA/k8s-device-plugin/blob/v0.14.5/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.14.4 \
702+
--version=0.14.5 \
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.14.4 \
713+
--version=0.14.5 \
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.14.4 \
722+
--version=0.14.5 \
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.14.4 \
741+
--version=0.14.5 \
742742
--namespace nvidia-device-plugin \
743743
--create-namespace \
744744
--set gfd.enabled=true
@@ -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.14.4.tgz
796+
https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.14.5.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.14.4`), but can
803+
It assumes you are pinning to the latest release tag (i.e. `v0.14.5`), 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.14.4
812-
$ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.14.4 nvcr.io/nvidia/k8s-device-plugin:devel
811+
$ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.14.5
812+
$ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.14.5 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.14.4
820+
https://github.com/NVIDIA/k8s-device-plugin.git#v0.14.5
821821
```
822822

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

872872
## Changelog
873873

874+
### Version v0.14.5
875+
876+
- Bump CUDA base image version to 12.3.2
877+
874878
### Version v0.14.4
875879

876880
- Update to refactored go-gpuallocator code. This permanently fixes the NVML_NVLINK_MAX_LINKS value addressed in a

RELEASE.md

+1-1
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.14.4`) with the new version
12+
- [ ] Update the README to change occurances of the old version (e.g: `v0.14.5`) 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

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

+2-2
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.14.4"
6-
appVersion: "0.14.4"
5+
version: "0.14.5"
6+
appVersion: "0.14.5"
77
kubeVersion: ">= 1.10.0-0"
88
home: https://github.com/NVIDIA/k8s-device-plugin
99

deployments/static/extensions-v1beta1-nvidia-device-plugin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
3636
priorityClassName: "system-node-critical"
3737
containers:
38-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.14.4
38+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.14.5
3939
name: nvidia-device-plugin-ctr
4040
env:
4141
- name: FAIL_ON_INIT_ERROR

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

+1-1
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.14.4
41+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.14.5
4242
name: nvidia-device-plugin-ctr
4343
env:
4444
- name: FAIL_ON_INIT_ERROR

deployments/static/nvidia-device-plugin-privileged-with-service-account.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ spec:
124124
- env:
125125
- name: PASS_DEVICE_SPECS
126126
value: "true"
127-
image: nvcr.io/nvidia/k8s-device-plugin:v0.14.4
127+
image: nvcr.io/nvidia/k8s-device-plugin:v0.14.5
128128
name: nvidia-device-plugin-ctr
129129
securityContext:
130130
privileged: true

nvidia-device-plugin.yml

+1-1
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.14.4
41+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.14.5
4242
name: nvidia-device-plugin-ctr
4343
env:
4444
- name: FAIL_ON_INIT_ERROR

versions.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
MODULE := github.com/NVIDIA/k8s-device-plugin
1616

17-
VERSION ?= v0.14.4
17+
VERSION ?= v0.14.5
1818

1919
# vVERSION represents the version with a guaranteed v-prefix
2020
vVERSION := v$(VERSION:v%=%)
2121

22-
CUDA_VERSION ?= 12.3.0
22+
CUDA_VERSION ?= 12.3.2
2323
GOLANG_VERSION ?= 1.20.5
2424

2525
BUILDIMAGE_TAG ?= devel-go$(GOLANG_VERSION)

0 commit comments

Comments
 (0)