@@ -124,7 +124,7 @@ Once you have configured the options above on all the GPU nodes in your
124124cluster, 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.0 /nvidia-device-plugin.yml
127+ $ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.12.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.0 ` ) of the plugin is available:
465+ Then verify that the latest release (` v0.12.1 ` ) of the plugin is available:
466466```
467467$ helm search repo nvdp --devel
468468NAME CHART VERSION APP VERSION DESCRIPTION
469- nvdp/nvidia-device-plugin 0.12.0 0.12.0 A Helm chart for ...
469+ nvdp/nvidia-device-plugin 0.12.1 0.12.1 A Helm chart for ...
470470```
471471
472472Once 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:
477477helm upgrade -i nvdp nvdp/nvidia-device-plugin \
478478 --namespace nvidia-device-plugin \
479479 --create-namespace \
480- --version 0.12.0
480+ --version 0.12.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.0 ` ) includes
489+ The ` helm ` chart for the latest release of the plugin (` v0.12.1 ` ) includes
490490a number of customizable values.
491491
492492Prior 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`
496496if desired. Both methods are discussed in more detail below.
497497
498498The full set of values that can be set are found here:
499- [ here] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.12.0 /deployments/helm/nvidia-device-plugin/values.yaml ) .
499+ [ here] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.12.1 /deployments/helm/nvidia-device-plugin/values.yaml ) .
500500
501501#### Passing configuration to the plugin via a ` ConfigMap ` .
502502
535535And 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.0 \
538+ --version=0.12.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.0 \
560+ --version=0.12.1 \
561561 --namespace nvidia-device-plugin \
562562 --create-namespace \
563563 --set config.name=nvidia-plugin-configs
585585And 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.0 \
588+ --version=0.12.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.0 \
607+ --version=0.12.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
692692Please take a look in the
693- [ ` values.yaml ` ] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.12.0 /deployments/helm/nvidia-device-plugin/values.yaml )
693+ [ ` values.yaml ` ] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.12.1 /deployments/helm/nvidia-device-plugin/values.yaml )
694694file to see the full set of overridable parameters for the device plugin.
695695
696696Examples of setting these options include:
@@ -699,7 +699,7 @@ Enabling compatibility with the `CPUManager` and running with a request for
699699100ms 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.0 \
702+ --version=0.12.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 \
710710Using 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.0 \
713+ --version=0.12.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 \
719719Enabling compatibility with the ` CPUManager ` and the ` mixed ` ` migStrategy `
720720``` shell
721721$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
722- --version=0.12.0 \
722+ --version=0.12.1 \
723723 --namespace nvidia-device-plugin \
724724 --create-namespace \
725725 --set compatWithCPUManager=true \
@@ -738,7 +738,7 @@ Discovery to perform this labeling.
738738To enable it, simply set ` gfd.enabled=true ` during helm install.
739739```
740740helm upgrade -i nvdp nvdp/nvidia-device-plugin \
741- --version=0.12.0 \
741+ --version=0.12.1 \
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.12.0 .tgz
796+ https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.1 .tgz
797797```
798798
799799## Building and Running Locally
800800
801801The next sections are focused on building the device plugin locally and running it.
802802It 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.0 ` ), but can
803+ It assumes you are pinning to the latest release tag (i.e. ` v0.12.1 ` ), but can
804804easily be modified to work with any available tag or branch.
805805
806806### With Docker
807807
808808#### Build
809809Option 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.0
812- $ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.12.0 nvcr.io/nvidia/k8s-device-plugin:devel
811+ $ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.12.1
812+ $ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.12.1 nvcr.io/nvidia/k8s-device-plugin:devel
813813```
814814
815815Option 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.0
820+ https://github.com/NVIDIA/k8s-device-plugin.git#v0.12.1
821821```
822822
823823Option 3, if you want to modify the code:
@@ -871,6 +871,12 @@ $ ./k8s-device-plugin --pass-device-specs
871871
872872## Changelog
873873
874+ ### Version v0.12.1
875+
876+ - Exit the plugin and GFD sidecar containers on error instead of logging and continuing
877+ - Only force restart of daemonsets when using config file and allow overrides
878+ - Fix bug in calculation for GFD security context in helm chart
879+
874880### Version v0.12.0
875881
876882- Promote v0.12.0-rc.6 to v0.12.0
0 commit comments