@@ -162,7 +162,7 @@ Once you have configured the options above on all the GPU nodes in your
162162cluster, you can enable GPU support by deploying the following Daemonset:
163163
164164``` shell
165- $ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.14.4 /nvidia-device-plugin.yml
165+ $ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.15.0-rc.1 /nvidia-device-plugin.yml
166166```
167167
168168** Note:** This is a simple static daemonset meant to demonstrate the basic
@@ -590,11 +590,11 @@ $ helm repo add nvdp https://nvidia.github.io/k8s-device-plugin
590590$ helm repo update
591591```
592592
593- Then verify that the latest release (` v0.14.4 ` ) of the plugin is available:
593+ Then verify that the latest release (` v0.15.0-rc.1 ` ) of the plugin is available:
594594```
595595$ helm search repo nvdp --devel
596596NAME CHART VERSION APP VERSION DESCRIPTION
597- nvdp/nvidia-device-plugin 0.14.4 0.14.4 A Helm chart for ...
597+ nvdp/nvidia-device-plugin 0.15.0-rc.1 0.15.0-rc.1 A Helm chart for ...
598598```
599599
600600Once this repo is updated, you can begin installing packages from it to deploy
@@ -605,7 +605,7 @@ The most basic installation command without any options is then:
605605helm upgrade -i nvdp nvdp/nvidia-device-plugin \
606606 --namespace nvidia-device-plugin \
607607 --create-namespace \
608- --version 0.14.4
608+ --version 0.15.0-rc.1
609609```
610610
611611** Note:** You only need the to pass the ` --devel ` flag to ` helm search repo `
@@ -614,7 +614,7 @@ version (e.g. `<version>-rc.1`). Full releases will be listed without this.
614614
615615### Configuring the device plugin's ` helm ` chart
616616
617- The ` helm ` chart for the latest release of the plugin (` v0.14.4 ` ) includes
617+ The ` helm ` chart for the latest release of the plugin (` v0.15.0-rc.1 ` ) includes
618618a number of customizable values.
619619
620620Prior to ` v0.12.0 ` the most commonly used values were those that had direct
@@ -624,7 +624,7 @@ case of the original values is then to override an option from the `ConfigMap`
624624if desired. Both methods are discussed in more detail below.
625625
626626The full set of values that can be set are found here:
627- [ here] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.14.4 /deployments/helm/nvidia-device-plugin/values.yaml ) .
627+ [ here] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.15.0-rc.1 /deployments/helm/nvidia-device-plugin/values.yaml ) .
628628
629629#### Passing configuration to the plugin via a ` ConfigMap ` .
630630
663663And deploy the device plugin via helm (pointing it at this config file and giving it a name):
664664```
665665$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
666- --version=0.14.4 \
666+ --version=0.15.0-rc.1 \
667667 --namespace nvidia-device-plugin \
668668 --create-namespace \
669669 --set-file config.map.config=/tmp/dp-example-config0.yaml
@@ -685,7 +685,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
685685```
686686```
687687$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
688- --version=0.14.4 \
688+ --version=0.15.0-rc.1 \
689689 --namespace nvidia-device-plugin \
690690 --create-namespace \
691691 --set config.name=nvidia-plugin-configs
713713And redeploy the device plugin via helm (pointing it at both configs with a specified default).
714714```
715715$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
716- --version=0.14.4 \
716+ --version=0.15.0-rc.1 \
717717 --namespace nvidia-device-plugin \
718718 --create-namespace \
719719 --set config.default=config0 \
@@ -732,7 +732,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
732732```
733733```
734734$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
735- --version=0.14.4 \
735+ --version=0.15.0-rc.1 \
736736 --namespace nvidia-device-plugin \
737737 --create-namespace \
738738 --set config.default=config0 \
@@ -815,7 +815,7 @@ chart values that are commonly overridden are:
815815```
816816
817817Please take a look in the
818- [ ` values.yaml ` ] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.14.4 /deployments/helm/nvidia-device-plugin/values.yaml )
818+ [ ` values.yaml ` ] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.15.0-rc.1 /deployments/helm/nvidia-device-plugin/values.yaml )
819819file to see the full set of overridable parameters for the device plugin.
820820
821821Examples of setting these options include:
@@ -824,7 +824,7 @@ Enabling compatibility with the `CPUManager` and running with a request for
824824100ms of CPU time and a limit of 512MB of memory.
825825``` shell
826826$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
827- --version=0.14.4 \
827+ --version=0.15.0-rc.1 \
828828 --namespace nvidia-device-plugin \
829829 --create-namespace \
830830 --set compatWithCPUManager=true \
@@ -835,7 +835,7 @@ $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
835835Enabling compatibility with the ` CPUManager ` and the ` mixed ` ` migStrategy `
836836``` shell
837837$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
838- --version=0.14.4 \
838+ --version=0.15.0-rc.1 \
839839 --namespace nvidia-device-plugin \
840840 --create-namespace \
841841 --set compatWithCPUManager=true \
@@ -854,7 +854,7 @@ Discovery to perform this labeling.
854854To enable it, simply set ` gfd.enabled=true ` during helm install.
855855```
856856helm upgrade -i nvdp nvdp/nvidia-device-plugin \
857- --version=0.14.4 \
857+ --version=0.15.0-rc.1 \
858858 --namespace nvidia-device-plugin \
859859 --create-namespace \
860860 --set gfd.enabled=true
@@ -960,31 +960,31 @@ Using the default values for the flags:
960960$ helm upgrade -i nvdp \
961961 --namespace nvidia-device-plugin \
962962 --create-namespace \
963- https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.14.4 .tgz
963+ https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.15.0-rc.1 .tgz
964964```
965965-->
966966## Building and Running Locally
967967
968968The next sections are focused on building the device plugin locally and running it.
969969It is intended purely for development and testing, and not required by most users.
970- It assumes you are pinning to the latest release tag (i.e. ` v0.14.4 ` ), but can
970+ It assumes you are pinning to the latest release tag (i.e. ` v0.15.0-rc.1 ` ), but can
971971easily be modified to work with any available tag or branch.
972972
973973### With Docker
974974
975975#### Build
976976Option 1, pull the prebuilt image from [ Docker Hub] ( https://hub.docker.com/r/nvidia/k8s-device-plugin ) :
977977``` shell
978- $ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.14.4
979- $ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.14.4 nvcr.io/nvidia/k8s-device-plugin:devel
978+ $ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.15.0-rc.1
979+ $ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.15.0-rc.1 nvcr.io/nvidia/k8s-device-plugin:devel
980980```
981981
982982Option 2, build without cloning the repository:
983983``` shell
984984$ docker build \
985985 -t nvcr.io/nvidia/k8s-device-plugin:devel \
986986 -f deployments/container/Dockerfile.ubuntu \
987- https://github.com/NVIDIA/k8s-device-plugin.git#v0.14.4
987+ https://github.com/NVIDIA/k8s-device-plugin.git#v0.15.0-rc.1
988988```
989989
990990Option 3, if you want to modify the code:
0 commit comments