@@ -39,7 +39,7 @@ The NVIDIA device plugin for Kubernetes is a Daemonset that allows you to automa
3939- Run GPU enabled containers in your Kubernetes cluster.
4040
4141This repository contains NVIDIA's official implementation of the [ Kubernetes device plugin] ( https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/ ) .
42- As of v0.16.1 this repository also holds the implementation for GPU Feature Discovery labels,
42+ As of v0.15.0 this repository also holds the implementation for GPU Feature Discovery labels,
4343for further information on GPU Feature Discovery see [ here] ( docs/gpu-feature-discovery/README.md ) .
4444
4545Please note that:
@@ -123,7 +123,7 @@ Once you have configured the options above on all the GPU nodes in your
123123cluster, you can enable GPU support by deploying the following Daemonset:
124124
125125``` shell
126- $ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.16.1 /deployments/static/nvidia-device-plugin.yml
126+ $ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.16.2 /deployments/static/nvidia-device-plugin.yml
127127```
128128
129129** Note:** This is a simple static daemonset meant to demonstrate the basic
@@ -558,11 +558,11 @@ $ helm repo add nvdp https://nvidia.github.io/k8s-device-plugin
558558$ helm repo update
559559```
560560
561- Then verify that the latest release (` v0.16.1 ` ) of the plugin is available:
561+ Then verify that the latest release (` v0.16.2 ` ) of the plugin is available:
562562```
563563$ helm search repo nvdp --devel
564564NAME CHART VERSION APP VERSION DESCRIPTION
565- nvdp/nvidia-device-plugin 0.16.1 0.16.1 A Helm chart for ...
565+ nvdp/nvidia-device-plugin 0.16.2 0.16.2 A Helm chart for ...
566566```
567567
568568Once this repo is updated, you can begin installing packages from it to deploy
@@ -573,7 +573,7 @@ The most basic installation command without any options is then:
573573helm upgrade -i nvdp nvdp/nvidia-device-plugin \
574574 --namespace nvidia-device-plugin \
575575 --create-namespace \
576- --version 0.16.1
576+ --version 0.16.2
577577```
578578
579579** Note:** You only need the to pass the ` --devel ` flag to ` helm search repo `
@@ -582,7 +582,7 @@ version (e.g. `<version>-rc.1`). Full releases will be listed without this.
582582
583583### Configuring the device plugin's ` helm ` chart
584584
585- The ` helm ` chart for the latest release of the plugin (` v0.16.1 ` ) includes
585+ The ` helm ` chart for the latest release of the plugin (` v0.16.2 ` ) includes
586586a number of customizable values.
587587
588588Prior to ` v0.12.0 ` the most commonly used values were those that had direct
@@ -592,7 +592,7 @@ case of the original values is then to override an option from the `ConfigMap`
592592if desired. Both methods are discussed in more detail below.
593593
594594The full set of values that can be set are found here:
595- [ here] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.16.1 /deployments/helm/nvidia-device-plugin/values.yaml ) .
595+ [ here] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.16.2 /deployments/helm/nvidia-device-plugin/values.yaml ) .
596596
597597#### Passing configuration to the plugin via a ` ConfigMap ` .
598598
631631And deploy the device plugin via helm (pointing it at this config file and giving it a name):
632632```
633633$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
634- --version=0.16.1 \
634+ --version=0.16.2 \
635635 --namespace nvidia-device-plugin \
636636 --create-namespace \
637637 --set-file config.map.config=/tmp/dp-example-config0.yaml
@@ -653,7 +653,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
653653```
654654```
655655$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
656- --version=0.16.1 \
656+ --version=0.16.2 \
657657 --namespace nvidia-device-plugin \
658658 --create-namespace \
659659 --set config.name=nvidia-plugin-configs
681681And redeploy the device plugin via helm (pointing it at both configs with a specified default).
682682```
683683$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
684- --version=0.16.1 \
684+ --version=0.16.2 \
685685 --namespace nvidia-device-plugin \
686686 --create-namespace \
687687 --set config.default=config0 \
@@ -700,7 +700,7 @@ $ kubectl create cm -n nvidia-device-plugin nvidia-plugin-configs \
700700```
701701```
702702$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
703- --version=0.16.1 \
703+ --version=0.16.2 \
704704 --namespace nvidia-device-plugin \
705705 --create-namespace \
706706 --set config.default=config0 \
@@ -783,7 +783,7 @@ chart values that are commonly overridden are:
783783```
784784
785785Please take a look in the
786- [ ` values.yaml ` ] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.16.1 /deployments/helm/nvidia-device-plugin/values.yaml )
786+ [ ` values.yaml ` ] ( https://github.com/NVIDIA/k8s-device-plugin/blob/v0.16.2 /deployments/helm/nvidia-device-plugin/values.yaml )
787787file to see the full set of overridable parameters for the device plugin.
788788
789789Examples of setting these options include:
@@ -792,7 +792,7 @@ Enabling compatibility with the `CPUManager` and running with a request for
792792100ms of CPU time and a limit of 512MB of memory.
793793``` shell
794794$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
795- --version=0.16.1 \
795+ --version=0.16.2 \
796796 --namespace nvidia-device-plugin \
797797 --create-namespace \
798798 --set compatWithCPUManager=true \
@@ -803,7 +803,7 @@ $ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
803803Enabling compatibility with the ` CPUManager ` and the ` mixed ` ` migStrategy `
804804``` shell
805805$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
806- --version=0.16.1 \
806+ --version=0.16.2 \
807807 --namespace nvidia-device-plugin \
808808 --create-namespace \
809809 --set compatWithCPUManager=true \
@@ -822,7 +822,7 @@ Discovery to perform this labeling.
822822To enable it, simply set ` gfd.enabled=true ` during helm install.
823823```
824824helm upgrade -i nvdp nvdp/nvidia-device-plugin \
825- --version=0.16.1 \
825+ --version=0.16.2 \
826826 --namespace nvidia-device-plugin \
827827 --create-namespace \
828828 --set gfd.enabled=true
@@ -867,7 +867,7 @@ nvidia.com/gpu.product = A100-SXM4-40GB-MIG-1g.5gb-SHARED
867867
868868#### Deploying gpu-feature-discovery in standalone mode
869869
870- As of v0.16.1 , the device plugin's helm chart has integrated support to deploy
870+ As of v0.16.2 , the device plugin's helm chart has integrated support to deploy
871871[ ` gpu-feature-discovery ` ] ( https://gitlab.com/nvidia/kubernetes/gpu-feature-discovery/-/tree/main )
872872
873873When gpu-feature-discovery in deploying standalone, begin by setting up the
@@ -878,13 +878,13 @@ $ helm repo add nvdp https://nvidia.github.io/k8s-device-plugin
878878$ helm repo update
879879```
880880
881- Then verify that the latest release (` v0.16.1 ` ) of the plugin is available
881+ Then verify that the latest release (` v0.16.2 ` ) of the plugin is available
882882(Note that this includes the GFD chart):
883883
884884``` shell
885885$ helm search repo nvdp --devel
886886NAME CHART VERSION APP VERSION DESCRIPTION
887- nvdp/nvidia-device-plugin 0.16.1 0.16.1 A Helm chart for ...
887+ nvdp/nvidia-device-plugin 0.16.2 0.16.2 A Helm chart for ...
888888```
889889
890890Once this repo is updated, you can begin installing packages from it to deploy
@@ -894,7 +894,7 @@ The most basic installation command without any options is then:
894894
895895```
896896$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
897- --version 0.16.1 \
897+ --version 0.16.2 \
898898 --namespace gpu-feature-discovery \
899899 --create-namespace \
900900 --set devicePlugin.enabled=false
@@ -905,7 +905,7 @@ the default namespace.
905905
906906``` shell
907907$ helm upgrade -i nvdp nvdp/nvidia-device-plugin \
908- --version=0.16.1 \
908+ --version=0.16.2 \
909909 --set allowDefaultNamespace=true \
910910 --set nfd.enabled=false \
911911 --set migStrategy=mixed \
@@ -928,31 +928,31 @@ Using the default values for the flags:
928928$ helm upgrade -i nvdp \
929929 --namespace nvidia-device-plugin \
930930 --create-namespace \
931- https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.16.1 .tgz
931+ https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.16.2 .tgz
932932```
933933
934934## Building and Running Locally
935935
936936The next sections are focused on building the device plugin locally and running it.
937937It is intended purely for development and testing, and not required by most users.
938- It assumes you are pinning to the latest release tag (i.e. ` v0.16.1 ` ), but can
938+ It assumes you are pinning to the latest release tag (i.e. ` v0.16.2 ` ), but can
939939easily be modified to work with any available tag or branch.
940940
941941### With Docker
942942
943943#### Build
944944Option 1, pull the prebuilt image from [ Docker Hub] ( https://hub.docker.com/r/nvidia/k8s-device-plugin ) :
945945``` shell
946- $ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.16.1
947- $ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.16.1 nvcr.io/nvidia/k8s-device-plugin:devel
946+ $ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.16.2
947+ $ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.16.2 nvcr.io/nvidia/k8s-device-plugin:devel
948948```
949949
950950Option 2, build without cloning the repository:
951951``` shell
952952$ docker build \
953953 -t nvcr.io/nvidia/k8s-device-plugin:devel \
954954 -f deployments/container/Dockerfile.ubuntu \
955- https://github.com/NVIDIA/k8s-device-plugin.git#v0.16.1
955+ https://github.com/NVIDIA/k8s-device-plugin.git#v0.16.2
956956```
957957
958958Option 3, if you want to modify the code:
0 commit comments