Skip to content

Commit e9f44f5

Browse files
committed
Merge branch 'upstream-bump-v0.8.0' into 'master'
Bump version to v0.8.0 See merge request nvidia/kubernetes/device-plugin!72
2 parents 49b1fe1 + f85fdd7 commit e9f44f5

File tree

7 files changed

+27
-22
lines changed

7 files changed

+27
-22
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ifeq ($(IMAGE),)
2323
REGISTRY ?= nvidia
2424
IMAGE := $(REGISTRY)/k8s-device-plugin
2525
endif
26-
VERSION ?= v0.7.3
26+
VERSION ?= v0.8.0
2727

2828
##### Public rules #####
2929

README.md

Lines changed: 20 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.7.3/nvidia-device-plugin.yml
85+
$ kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.8.0/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.7.3`) includes
126+
The `helm` chart for the latest release of the plugin (`v0.8.0`) includes
127127
a number of customizable values. The most commonly overridden ones are:
128128

129129
```
@@ -193,7 +193,7 @@ rationale behind this strategy can be found
193193
Please take a look in the following `values.yaml` file to see the full set of
194194
overridable parameters for the device plugin.
195195

196-
* https://github.com/NVIDIA/k8s-device-plugin/blob/v0.7.3/deployments/helm/nvidia-device-plugin/values.yaml
196+
* https://github.com/NVIDIA/k8s-device-plugin/blob/v0.8.0/deployments/helm/nvidia-device-plugin/values.yaml
197197

198198
#### Installing via `helm install`from the `nvidia-device-plugin` `helm` repository
199199

@@ -216,7 +216,7 @@ plugin with the various flags from above.
216216
Using the default values for the flags:
217217
```shell
218218
$ helm install \
219-
--version=0.7.3 \
219+
--version=0.8.0 \
220220
--generate-name \
221221
nvdp/nvidia-device-plugin
222222
```
@@ -225,7 +225,7 @@ Enabling compatibility with the `CPUManager` and running with a request for
225225
100ms of CPU time and a limit of 512MB of memory.
226226
```shell
227227
$ helm install \
228-
--version=0.7.3 \
228+
--version=0.8.0 \
229229
--generate-name \
230230
--set compatWithCPUManager=true \
231231
--set resources.requests.cpu=100m \
@@ -236,7 +236,7 @@ $ helm install \
236236
Use the legacy Daemonset API (only available on Kubernetes < `v1.16`):
237237
```shell
238238
$ helm install \
239-
--version=0.7.3 \
239+
--version=0.8.0 \
240240
--generate-name \
241241
--set legacyDaemonsetAPI=true \
242242
nvdp/nvidia-device-plugin
@@ -245,7 +245,7 @@ $ helm install \
245245
Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy`
246246
```shell
247247
$ helm install \
248-
--version=0.7.3 \
248+
--version=0.8.0 \
249249
--generate-name \
250250
--set compatWithCPUManager=true \
251251
--set migStrategy=mixed \
@@ -263,7 +263,7 @@ Using the default values for the flags:
263263
```shell
264264
$ helm install \
265265
--generate-name \
266-
https://nvidia.github.com/k8s-device-plugin/stable/nvidia-device-plugin-0.7.3.tgz
266+
https://nvidia.github.com/k8s-device-plugin/stable/nvidia-device-plugin-0.8.0.tgz
267267
```
268268

269269
Enabling compatibility with the `CPUManager` and running with a request for
@@ -274,15 +274,15 @@ $ helm install \
274274
--set compatWithCPUManager=true \
275275
--set resources.requests.cpu=100m \
276276
--set resources.limits.memory=512Mi \
277-
https://nvidia.github.com/k8s-device-plugin/stable/nvidia-device-plugin-0.7.3.tgz
277+
https://nvidia.github.com/k8s-device-plugin/stable/nvidia-device-plugin-0.8.0.tgz
278278
```
279279

280280
Use the legacy Daemonset API (only available on Kubernetes < `v1.16`):
281281
```shell
282282
$ helm install \
283283
--generate-name \
284284
--set legacyDaemonsetAPI=true \
285-
https://nvidia.github.com/k8s-device-plugin/stable/nvidia-device-plugin-0.7.3.tgz
285+
https://nvidia.github.com/k8s-device-plugin/stable/nvidia-device-plugin-0.8.0.tgz
286286
```
287287

288288
Enabling compatibility with the `CPUManager` and the `mixed` `migStrategy`
@@ -291,31 +291,31 @@ $ helm install \
291291
--generate-name \
292292
--set compatWithCPUManager=true \
293293
--set migStrategy=mixed \
294-
https://nvidia.github.com/k8s-device-plugin/stable/nvidia-device-plugin-0.7.3.tgz
294+
https://nvidia.github.com/k8s-device-plugin/stable/nvidia-device-plugin-0.8.0.tgz
295295
```
296296

297297
## Building and Running Locally
298298

299299
The next sections are focused on building the device plugin locally and running it.
300300
It is intended purely for development and testing, and not required by most users.
301-
It assumes you are pinning to the latest release tag (i.e. `v0.7.3`), but can
301+
It assumes you are pinning to the latest release tag (i.e. `v0.8.0`), but can
302302
easily be modified to work with any available tag or branch.
303303

304304
### With Docker
305305

306306
#### Build
307307
Option 1, pull the prebuilt image from [Docker Hub](https://hub.docker.com/r/nvidia/k8s-device-plugin):
308308
```shell
309-
$ docker pull nvidia/k8s-device-plugin:v0.7.3
310-
$ docker tag nvidia/k8s-device-plugin:v0.7.3 nvidia/k8s-device-plugin:devel
309+
$ docker pull nvidia/k8s-device-plugin:v0.8.0
310+
$ docker tag nvidia/k8s-device-plugin:v0.8.0 nvidia/k8s-device-plugin:devel
311311
```
312312

313313
Option 2, build without cloning the repository:
314314
```shell
315315
$ docker build \
316316
-t nvidia/k8s-device-plugin:devel \
317317
-f docker/amd64/Dockerfile.ubuntu16.04 \
318-
https://github.com/NVIDIA/k8s-device-plugin.git#v0.7.3
318+
https://github.com/NVIDIA/k8s-device-plugin.git#v0.8.0
319319
```
320320

321321
Option 3, if you want to modify the code:
@@ -369,6 +369,11 @@ $ ./k8s-device-plugin --pass-device-specs
369369

370370
## Changelog
371371

372+
### Version v0.8.0
373+
374+
- Raise an error if a device has migEnabled=true but has no MIG devices
375+
- Allow mig.strategy=single on nodes with non-MIG gpus
376+
372377
### Version v0.7.3
373378

374379
- Update vendoring to include bug fix for `nvmlEventSetWait_v2`

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.7.3`) with the new version
12+
- [ ] Update the README to change occurances of the old version (e.g: `v0.8.0`) 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.7.3"
6-
appVersion: "0.7.3"
5+
version: "0.8.0"
6+
appVersion: "0.8.0"
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
@@ -43,7 +43,7 @@ spec:
4343
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
4444
priorityClassName: "system-node-critical"
4545
containers:
46-
- image: nvidia/k8s-device-plugin:v0.7.3
46+
- image: nvidia/k8s-device-plugin:v0.8.0
4747
name: nvidia-device-plugin-ctr
4848
args: ["--fail-on-init-error=false"]
4949
securityContext:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
4747
priorityClassName: "system-node-critical"
4848
containers:
49-
- image: nvidia/k8s-device-plugin:v0.7.3
49+
- image: nvidia/k8s-device-plugin:v0.8.0
5050
name: nvidia-device-plugin-ctr
5151
args: ["--fail-on-init-error=false", "--pass-device-specs"]
5252
securityContext:

nvidia-device-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
4747
priorityClassName: "system-node-critical"
4848
containers:
49-
- image: nvidia/k8s-device-plugin:v0.7.3
49+
- image: nvidia/k8s-device-plugin:v0.8.0
5050
name: nvidia-device-plugin-ctr
5151
args: ["--fail-on-init-error=false"]
5252
securityContext:

0 commit comments

Comments
 (0)