@@ -82,7 +82,7 @@ Once you have configured the options above on all the GPU nodes in your
8282cluster, you can enable GPU support by deploying the following Daemonset:
8383
8484``` shell
85- $ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.11.0 /nvidia-device-plugin.yml
85+ $ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.12.0-rc.1 /nvidia-device-plugin.yml
8686```
8787
8888** Note:** This is a simple static daemonset meant to demonstrate the basic
@@ -123,7 +123,7 @@ The preferred method to deploy the device plugin is as a daemonset using `helm`.
123123Instructions for installing `helm` can be found
124124[here](https://helm.sh/docs/intro/install/).
125125
126- The `helm` chart for the latest release of the plugin (`v0.11.0 `) includes
126+ The `helm` chart for the latest release of the plugin (`v0.12.0-rc.1 `) includes
127127a number of customizable values. The most commonly overridden ones are :
128128
129129` ` `
@@ -207,7 +207,7 @@ attached to them.
207207Please take a look in the following `values.yaml` file to see the full set of
208208overridable parameters for the device plugin.
209209
210- * https://github.com/NVIDIA/k8s-device-plugin/blob/v0.11.0 /deployments/helm/nvidia-device-plugin/values.yaml
210+ * https://github.com/NVIDIA/k8s-device-plugin/blob/v0.12.0-rc.1 /deployments/helm/nvidia-device-plugin/values.yaml
211211
212212# ### Installing via `helm install`from the `nvidia-device-plugin` `helm` repository
213213
@@ -230,7 +230,7 @@ plugin with the various flags from above.
230230Using the default values for the flags :
231231` ` ` shell
232232$ helm install \
233- --version=0.11.0 \
233+ --version=0.12.0-rc.1 \
234234 --generate-name \
235235 nvdp/nvidia-device-plugin
236236` ` `
@@ -239,7 +239,7 @@ Enabling compatibility with the `CPUManager` and running with a request for
239239100ms of CPU time and a limit of 512MB of memory.
240240` ` ` shell
241241$ helm install \
242- --version=0.11.0 \
242+ --version=0.12.0-rc.1 \
243243 --generate-name \
244244 --set compatWithCPUManager=true \
245245 --set resources.requests.cpu=100m \
@@ -250,7 +250,7 @@ $ helm install \
250250Use the legacy Daemonset API (only available on Kubernetes < `v1.16`) :
251251` ` ` shell
252252$ helm install \
253- --version=0.11.0 \
253+ --version=0.12.0-rc.1 \
254254 --generate-name \
255255 --set legacyDaemonsetAPI=true \
256256 nvdp/nvidia-device-plugin
@@ -259,7 +259,7 @@ $ helm install \
259259Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy`
260260` ` ` shell
261261$ helm install \
262- --version=0.11.0 \
262+ --version=0.12.0-rc.1 \
263263 --generate-name \
264264 --set compatWithCPUManager=true \
265265 --set migStrategy=mixed \
@@ -277,7 +277,7 @@ Using the default values for the flags:
277277` ` ` shell
278278$ helm install \
279279 --generate-name \
280- https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.11.0 .tgz
280+ https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.1 .tgz
281281` ` `
282282
283283Enabling compatibility with the `CPUManager` and running with a request for
@@ -288,15 +288,15 @@ $ helm install \
288288 --set compatWithCPUManager=true \
289289 --set resources.requests.cpu=100m \
290290 --set resources.limits.memory=512Mi \
291- https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.11.0 .tgz
291+ https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.1 .tgz
292292` ` `
293293
294294Use the legacy Daemonset API (only available on Kubernetes < `v1.16`) :
295295` ` ` shell
296296$ helm install \
297297 --generate-name \
298298 --set legacyDaemonsetAPI=true \
299- https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.11.0 .tgz
299+ https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.1 .tgz
300300` ` `
301301
302302Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy`
@@ -305,31 +305,31 @@ $ helm install \
305305 --generate-name \
306306 --set compatWithCPUManager=true \
307307 --set migStrategy=mixed \
308- https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.11.0 .tgz
308+ https://nvidia.github.io/k8s-device-plugin/stable/nvidia-device-plugin-0.12.0-rc.1 .tgz
309309` ` `
310310
311311# # Building and Running Locally
312312
313313The next sections are focused on building the device plugin locally and running it.
314314It is intended purely for development and testing, and not required by most users.
315- It assumes you are pinning to the latest release tag (i.e. `v0.11.0 `), but can
315+ It assumes you are pinning to the latest release tag (i.e. `v0.12.0-rc.1 `), but can
316316easily be modified to work with any available tag or branch.
317317
318318# ## With Docker
319319
320320# ### Build
321321Option 1, pull the prebuilt image from [Docker Hub](https://hub.docker.com/r/nvidia/k8s-device-plugin) :
322322` ` ` shell
323- $ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.11.0
324- $ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.11.0 nvcr.io/nvidia/k8s-device-plugin:devel
323+ $ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.12.0-rc.1
324+ $ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.12.0-rc.1 nvcr.io/nvidia/k8s-device-plugin:devel
325325` ` `
326326
327327Option 2, build without cloning the repository :
328328` ` ` shell
329329$ docker build \
330330 -t nvcr.io/nvidia/k8s-device-plugin:devel \
331331 -f deployments/container/Dockerfile.ubuntu \
332- https://github.com/NVIDIA/k8s-device-plugin.git#v0.11.0
332+ https://github.com/NVIDIA/k8s-device-plugin.git#v0.12.0-rc.1
333333` ` `
334334
335335Option 3, if you want to modify the code :
@@ -383,6 +383,19 @@ $ ./k8s-device-plugin --pass-device-specs
383383
384384# # Changelog
385385
386+ # ## Version v0.12.0-rc.1
387+
388+ - Add API for specifying time-slicing parameters to support GPU sharing
389+ - Add API for specifying explicit resource naming in the config file
390+ - Update config file to be used across plugin and GFD
391+ - Stop publishing images to dockerhub (now only published to nvcr.io)
392+ - Add NVIDIA_MIG_MONITOR_DEVICES=all to daemonset envvars when mig mode is enabled
393+ - Print the plugin configuration at startup
394+ - Add the ability to load the plugin configuration from a file
395+ - Remove deprecated tolerations for critical-pod
396+ - Drop critical-pod annotation(removed from 1.16+) in favor of priorityClassName
397+ - Pass all parameters as env in helm chart and example daemonset.yamls files for consistency
398+
386399# ## Version v0.11.0
387400
388401- Update CUDA base image version to 11.6.0
0 commit comments