Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge branch 'upstream-bump-v0.2.2' into 'master'
Browse files Browse the repository at this point in the history
Bump to version 0.2.2

See merge request nvidia/kubernetes/gpu-feature-discovery!51
  • Loading branch information
klueska committed Oct 27, 2020
2 parents d64c7a2 + 21cd8e7 commit cabe746
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The following command will deploy NFD with the minimum required set of
parameters to run `gpu-feature-discovery`.

```shell
kubectl apply -f https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.2.1/deployments/static/nfd.yaml
kubectl apply -f https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.2.2/deployments/static/nfd.yaml
```

**Note:** This is a simple static daemonset meant to demonstrate the basic
Expand All @@ -96,7 +96,7 @@ or as a Job.
#### Daemonset

```shell
kubectl apply -f https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.2.1/deployments/static/gpu-feature-discovery-daemonset.yaml
kubectl apply -f https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.2.2/deployments/static/gpu-feature-discovery-daemonset.yaml
```

**Note:** This is a simple static daemonset meant to demonstrate the basic
Expand All @@ -111,7 +111,7 @@ node you want to label:

```shell
$ export NODE_NAME=<your-node-name>
$ curl https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.2.1/deployments/static/gpu-feature-discovery-job.yaml.template \
$ curl https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.2.2/deployments/static/gpu-feature-discovery-job.yaml.template \
| sed "s/NODE_NAME/${NODE_NAME}/" > gpu-feature-discovery-job.yaml
$ kubectl apply -f gpu-feature-discovery-job.yaml
```
Expand Down Expand Up @@ -259,7 +259,7 @@ The preferred method to deploy `gpu-feature-discovery` is as a daemonset using `
Instructions for installing `helm` can be found
[here](https://helm.sh/docs/intro/install/).

The `helm` chart for the latest release of GFD (`v0.2.1`) includes a number
The `helm` chart for the latest release of GFD (`v0.2.2`) includes a number
of customizable values. The most commonly overridden ones are:

```
Expand All @@ -282,8 +282,8 @@ Please take a look in the following `values.yaml` files to see the full set of
overridable parameters for both the top-level `gpu-feature-discovery` chart and
the `node-feature-discovery` subchart.

* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.2.1/deployments/helm/gpu-feature-discovery/values.yaml
* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.2.1/deployments/helm/gpu-feature-discovery/charts/node-feature-discovery/values.yaml
* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.2.2/deployments/helm/gpu-feature-discovery/values.yaml
* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.2.2/deployments/helm/gpu-feature-discovery/charts/node-feature-discovery/values.yaml

#### Installing via `helm install` from the `gpu-feature-discovery` `helm` repository

Expand All @@ -307,7 +307,7 @@ components with the various flags from above.
Using the default values for all flags:
```shell
$ helm install \
--version=0.2.1 \
--version=0.2.2 \
--generate-name \
nvgfd/gpu-feature-discovery
```
Expand All @@ -316,7 +316,7 @@ Disabling auto-deployment of NFD and running with a MIG strategy of 'mixed' in
the default namespace.
```shell
$ helm install \
--version=0.2.1 \
--version=0.2.2 \
--generate-name \
--set nfd.deploy=false \
--set migStrategy=mixed
Expand All @@ -335,7 +335,7 @@ Using the default values for the flags:
```shell
$ helm install \
--generate-name \
https://nvidia.github.com/gpu-feature-discovery/stable/gpu-feature-discovery-0.2.1.tgz
https://nvidia.github.com/gpu-feature-discovery/stable/gpu-feature-discovery-0.2.2.tgz
```

Disabling auto-deployment of NFD and running with a MIG strategy of 'mixed' in
Expand All @@ -346,7 +346,7 @@ $ helm install \
--set nfd.deploy=false \
--set migStrategy=mixed
--set namespace=default \
https://nvidia.github.com/gpu-feature-discovery/stable/gpu-feature-discovery-0.2.1.tgz
https://nvidia.github.com/gpu-feature-discovery/stable/gpu-feature-discovery-0.2.2.tgz
```

## Building and running locally with Docker
Expand Down
4 changes: 2 additions & 2 deletions deployments/helm/gpu-feature-discovery/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: gpu-feature-discovery
type: application
description: A Helm chart for gpu-feature-discovery on Kubernetes
version: "0.2.1"
appVersion: "0.2.1"
version: "0.2.2"
appVersion: "0.2.2"
kubeVersion: ">= 1.10.0-0"
home: https://github.com/NVIDIA/gpu-feature-discovery

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: gpu-feature-discovery
labels:
app.kubernetes.io/name: gpu-feature-discovery
app.kubernetes.io/version: 0.2.1
app.kubernetes.io/version: 0.2.2
app.kubernetes.io/part-of: nvidia-gpu
spec:
selector:
Expand All @@ -15,11 +15,11 @@ spec:
metadata:
labels:
app.kubernetes.io/name: gpu-feature-discovery
app.kubernetes.io/version: 0.2.1
app.kubernetes.io/version: 0.2.2
app.kubernetes.io/part-of: nvidia-gpu
spec:
containers:
- image: nvidia/gpu-feature-discovery:v0.2.1
- image: nvidia/gpu-feature-discovery:v0.2.2
name: gpu-feature-discovery
args: ["--mig-strategy=mixed"]
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: gpu-feature-discovery
labels:
app.kubernetes.io/name: gpu-feature-discovery
app.kubernetes.io/version: 0.2.1
app.kubernetes.io/version: 0.2.2
app.kubernetes.io/part-of: nvidia-gpu
spec:
selector:
Expand All @@ -15,11 +15,11 @@ spec:
metadata:
labels:
app.kubernetes.io/name: gpu-feature-discovery
app.kubernetes.io/version: 0.2.1
app.kubernetes.io/version: 0.2.2
app.kubernetes.io/part-of: nvidia-gpu
spec:
containers:
- image: nvidia/gpu-feature-discovery:v0.2.1
- image: nvidia/gpu-feature-discovery:v0.2.2
name: gpu-feature-discovery
args: ["--mig-strategy=single"]
volumeMounts:
Expand Down
6 changes: 3 additions & 3 deletions deployments/static/gpu-feature-discovery-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: gpu-feature-discovery
labels:
app.kubernetes.io/name: gpu-feature-discovery
app.kubernetes.io/version: 0.2.1
app.kubernetes.io/version: 0.2.2
app.kubernetes.io/part-of: nvidia-gpu
spec:
selector:
Expand All @@ -15,11 +15,11 @@ spec:
metadata:
labels:
app.kubernetes.io/name: gpu-feature-discovery
app.kubernetes.io/version: 0.2.1
app.kubernetes.io/version: 0.2.2
app.kubernetes.io/part-of: nvidia-gpu
spec:
containers:
- image: nvidia/gpu-feature-discovery:v0.2.1
- image: nvidia/gpu-feature-discovery:v0.2.2
name: gpu-feature-discovery
volumeMounts:
- name: output-dir
Expand Down
6 changes: 3 additions & 3 deletions deployments/static/gpu-feature-discovery-job.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ metadata:
name: gpu-feature-discovery
labels:
app.kubernetes.io/name: gpu-feature-discovery
app.kubernetes.io/version: 0.2.1
app.kubernetes.io/version: 0.2.2
app.kubernetes.io/part-of: nvidia-gpu
spec:
template:
metadata:
labels:
app.kubernetes.io/name: gpu-feature-discovery
app.kubernetes.io/version: 0.2.1
app.kubernetes.io/version: 0.2.2
app.kubernetes.io/part-of: nvidia-gpu
spec:
nodeName: NODE_NAME
containers:
- image: nvidia/gpu-feature-discovery:v0.2.1
- image: nvidia/gpu-feature-discovery:v0.2.2
name: gpu-feature-discovery
args:
- "--oneshot"
Expand Down

0 comments on commit cabe746

Please sign in to comment.