Skip to content

Commit 86ccb48

Browse files
committed
Merge branch 'bump-v0.12.0-rc.1' into 'release-0.12'
Bump to v0.12.0-rc.1 See merge request nvidia/kubernetes/device-plugin!142
2 parents 84c8174 + c8aa78f commit 86ccb48

File tree

6 files changed

+34
-21
lines changed

6 files changed

+34
-21
lines changed

README.md

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Once you have configured the options above on all the GPU nodes in your
8282
cluster, 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`.
123123
Instructions 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
127127
a number of customizable values. The most commonly overridden ones are:
128128

129129
```
@@ -207,7 +207,7 @@ attached to them.
207207
Please take a look in the following `values.yaml` file to see the full set of
208208
overridable 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.
230230
Using 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
239239
100ms 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 \
250250
Use 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 \
259259
Enabling 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

283283
Enabling 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

294294
Use 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

302302
Enabling 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

313313
The next sections are focused on building the device plugin locally and running it.
314314
It 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
316316
easily be modified to work with any available tag or branch.
317317

318318
### With Docker
319319

320320
#### Build
321321
Option 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

327327
Option 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

335335
Option 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

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Publishing the helm chart is currently manual, and we should move to an automate
99

1010
# Release Process Checklist
1111
- [ ] Update the README changelog
12-
- [ ] Update the README to change occurances of the old version (e.g: `v0.11.0`) with the new version
12+
- [ ] Update the README to change occurances of the old version (e.g: `v0.12.0-rc.1`) with the new version
1313
- [ ] Commit, Tag and Push to Gitlab
1414
- [ ] Build a new helm package with `helm package ./deployments/helm/nvidia-device-plugin`
1515
- [ ] Switch to the `gh-pages` branch and move the newly generated package to the `stable` helm repo

deployments/helm/nvidia-device-plugin/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: nvidia-device-plugin
33
type: application
44
description: A Helm chart for the nvidia-device-plugin on Kubernetes
5-
version: "0.11.0"
6-
appVersion: "0.11.0"
5+
version: "0.12.0-rc.1"
6+
appVersion: "0.12.0-rc.1"
77
kubeVersion: ">= 1.10.0-0"
88
home: https://github.com/NVIDIA/k8s-device-plugin

deployments/static/extensions-v1beta1-nvidia-device-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
3636
priorityClassName: "system-node-critical"
3737
containers:
38-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.11.0
38+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.12.0-rc.1
3939
name: nvidia-device-plugin-ctr
4040
env:
4141
- name: FAIL_ON_INIT_ERROR

deployments/static/nvidia-device-plugin-compat-with-cpumanager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
3939
priorityClassName: "system-node-critical"
4040
containers:
41-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.11.0
41+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.12.0-rc.1
4242
name: nvidia-device-plugin-ctr
4343
env:
4444
- name: FAIL_ON_INIT_ERROR

nvidia-device-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
3939
priorityClassName: "system-node-critical"
4040
containers:
41-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.11.0
41+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.12.0-rc.1
4242
name: nvidia-device-plugin-ctr
4343
env:
4444
- name: FAIL_ON_INIT_ERROR

0 commit comments

Comments
 (0)