@@ -124,7 +124,7 @@ Once you have configured the options above on all the GPU nodes in your
124
124
cluster, you can enable GPU support by deploying the following Daemonset:
125
125
126
126
``` 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
128
128
```
129
129
130
130
** 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
462
462
$ helm repo update
463
463
```
464
464
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:
466
466
```
467
467
$ helm search repo nvdp --devel
468
468
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 ...
470
470
```
471
471
472
472
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:
477
477
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
478
478
--namespace nvidia-device-plugin \
479
479
--create-namespace \
480
- --version 0.14.4
480
+ --version 0.14.5
481
481
```
482
482
483
483
** 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.
486
486
487
487
### Configuring the device plugin's ` helm ` chart
488
488
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
490
490
a number of customizable values.
491
491
492
492
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`
496
496
if desired. Both methods are discussed in more detail below.
497
497
498
498
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 ) .
500
500
501
501
#### Passing configuration to the plugin via a ` ConfigMap ` .
502
502
535
535
And deploy the device plugin via helm (pointing it at this config file and giving it a name):
536
536
```
537
537
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
538
- --version=0.14.4 \
538
+ --version=0.14.5 \
539
539
--namespace nvidia-device-plugin \
540
540
--create-namespace \
541
541
--set-file config.map.config=/tmp/dp-example-config0.yaml
@@ -557,7 +557,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
557
557
```
558
558
```
559
559
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
560
- --version=0.14.4 \
560
+ --version=0.14.5 \
561
561
--namespace nvidia-device-plugin \
562
562
--create-namespace \
563
563
--set config.name=nvidia-plugin-configs
585
585
And redeploy the device plugin via helm (pointing it at both configs with a specified default).
586
586
```
587
587
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
588
- --version=0.14.4 \
588
+ --version=0.14.5 \
589
589
--namespace nvidia-device-plugin \
590
590
--create-namespace \
591
591
--set config.default=config0 \
@@ -604,7 +604,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
604
604
```
605
605
```
606
606
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
607
- --version=0.14.4 \
607
+ --version=0.14.5 \
608
608
--namespace nvidia-device-plugin \
609
609
--create-namespace \
610
610
--set config.default=config0 \
@@ -690,7 +690,7 @@ chart values that are commonly overridden are:
690
690
```
691
691
692
692
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 )
694
694
file to see the full set of overridable parameters for the device plugin.
695
695
696
696
Examples of setting these options include:
@@ -699,7 +699,7 @@ Enabling compatibility with the `CPUManager` and running with a request for
699
699
100ms of CPU time and a limit of 512MB of memory.
700
700
``` shell
701
701
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
702
- --version=0.14.4 \
702
+ --version=0.14.5 \
703
703
--namespace nvidia-device-plugin \
704
704
--create-namespace \
705
705
--set compatWithCPUManager=true \
@@ -710,7 +710,7 @@ $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
710
710
Using the legacy Daemonset API (only available on Kubernetes < ` v1.16 ` ):
711
711
``` shell
712
712
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
713
- --version=0.14.4 \
713
+ --version=0.14.5 \
714
714
--namespace nvidia-device-plugin \
715
715
--create-namespace \
716
716
--set legacyDaemonsetAPI=true
@@ -719,7 +719,7 @@ $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
719
719
Enabling compatibility with the ` CPUManager ` and the ` mixed ` ` migStrategy `
720
720
``` shell
721
721
$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
722
- --version=0.14.4 \
722
+ --version=0.14.5 \
723
723
--namespace nvidia-device-plugin \
724
724
--create-namespace \
725
725
--set compatWithCPUManager=true \
@@ -738,7 +738,7 @@ Discovery to perform this labeling.
738
738
To enable it, simply set ` gfd.enabled=true ` during helm install.
739
739
```
740
740
helm upgrade -i nvdp nvdp/nvidia-device-plugin \
741
- --version=0.14.4 \
741
+ --version=0.14.5 \
742
742
--namespace nvidia-device-plugin \
743
743
--create-namespace \
744
744
--set gfd.enabled=true
@@ -793,31 +793,31 @@ Using the default values for the flags:
793
793
$ helm upgrade -i nvdp \
794
794
--namespace nvidia-device-plugin \
795
795
--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
797
797
```
798
798
799
799
## Building and Running Locally
800
800
801
801
The next sections are focused on building the device plugin locally and running it.
802
802
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
804
804
easily be modified to work with any available tag or branch.
805
805
806
806
### With Docker
807
807
808
808
#### Build
809
809
Option 1, pull the prebuilt image from [ Docker Hub] ( https://hub.docker.com/r/nvidia/k8s-device-plugin ) :
810
810
``` 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
813
813
```
814
814
815
815
Option 2, build without cloning the repository:
816
816
``` shell
817
817
$ docker build \
818
818
-t nvcr.io/nvidia/k8s-device-plugin:devel \
819
819
-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
821
821
```
822
822
823
823
Option 3, if you want to modify the code:
@@ -871,6 +871,10 @@ $ ./k8s-device-plugin --pass-device-specs
871
871
872
872
## Changelog
873
873
874
+ ### Version v0.14.5
875
+
876
+ - Bump CUDA base image version to 12.3.2
877
+
874
878
### Version v0.14.4
875
879
876
880
- Update to refactored go-gpuallocator code. This permanently fixes the NVML_NVLINK_MAX_LINKS value addressed in a
0 commit comments