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

Commit

Permalink
Merge branch 'bump-for-release' into 'main'
Browse files Browse the repository at this point in the history
Bump version to v0.8.1 for release

See merge request nvidia/kubernetes/gpu-feature-discovery!175
  • Loading branch information
Evan Lezar committed Jul 11, 2023
2 parents 7aae4ee + 9bbe05d commit 3bc3055
Show file tree
Hide file tree
Showing 142 changed files with 20,751 additions and 3,311 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,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.8.0/deployments/static/nfd.yaml
kubectl apply -f https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.8.1/deployments/static/nfd.yaml
```

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

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

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

```shell
$ export NODE_NAME=<your-node-name>
$ curl https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.8.0/deployments/static/gpu-feature-discovery-job.yaml.template \
$ curl https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.8.1/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 @@ -268,7 +268,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.8.0`) includes a number
The `helm` chart for the latest release of GFD (`v0.8.1`) includes a number
of customizable values. The most commonly overridden ones are:

```
Expand All @@ -294,8 +294,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.8.0/deployments/helm/gpu-feature-discovery/values.yaml
* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.8.0/deployments/helm/gpu-feature-discovery/charts/node-feature-discovery/values.yaml
* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.8.1/deployments/helm/gpu-feature-discovery/values.yaml
* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.8.1/deployments/helm/gpu-feature-discovery/charts/node-feature-discovery/values.yaml

#### Installing via `helm install`

Expand All @@ -313,11 +313,11 @@ $ helm repo add nvgfd https://nvidia.github.io/gpu-feature-discovery
$ helm repo update
```

Then verify that the latest release (`v0.8.0`) of the plugin is available:
Then verify that the latest release (`v0.8.1`) of the plugin is available:
```
$ helm search repo nvgfd --devel
NAME CHART VERSION APP VERSION DESCRIPTION
nvgfd/gpu-feature-discovery 0.8.0 0.8.0 A Helm chart for ...
nvgfd/gpu-feature-discovery 0.8.1 0.8.1 A Helm chart for ...
```

Once this repo is updated, you can begin installing packages from it to deploy
Expand All @@ -326,7 +326,7 @@ the `gpu-feature-discovery` helm chart.
The most basic installation command without any options is then:
```
$ helm upgrade -i nvgfd nvgfd/gpu-feature-discovery \
--version 0.8.0 \
--version 0.8.1 \
--namespace gpu-feature-discovery \
--create-namespace
```
Expand All @@ -335,7 +335,7 @@ Disabling auto-deployment of NFD and running with a MIG strategy of 'mixed' in
the default namespace.
```shell
$ helm upgrade -i nvgfd nvgfd/gpu-feature-discovery \
--version=0.8.0 \
--version=0.8.1 \
--set allowDefaultNamespace=true \
--set nfd.enabled=false \
--set migStrategy=mixed
Expand Down Expand Up @@ -385,7 +385,7 @@ Using the default values for the flags:
```shell
$ helm upgrade -i nvgfd \
--set allowDefaultNamespace=true \
https://nvidia.github.io/gpu-feature-discovery/stable/gpu-feature-discovery-0.8.0.tgz
https://nvidia.github.io/gpu-feature-discovery/stable/gpu-feature-discovery-0.8.1.tgz
```

Disabling auto-deployment of NFD and running with a MIG strategy of 'mixed' in
Expand All @@ -395,7 +395,7 @@ $ helm upgrade -i nvgfd \
--set nfd.deploy=false \
--set migStrategy=mixed \
--set allowDefaultNamespace=true \
https://nvidia.github.io/gpu-feature-discovery/stable/gpu-feature-discovery-0.8.0.tgz
https://nvidia.github.io/gpu-feature-discovery/stable/gpu-feature-discovery-0.8.1.tgz
```

## Building and running locally with Docker
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Publishing the container is automated through gitlab-ci and only requires one to
Publishing the helm chart is currently manual, and we should move to an automated process ASAP

# Release Process Checklist
- [ ] Update the README to change occurances of the old version (e.g: `v0.8.0`) with the new version
- [ ] Update the README to change occurances of the old version (e.g: `v0.8.1`) with the new version
- [ ] Commit, Tag and Push to Gitlab
- [ ] Build a new helm package with `helm package ./deployments/helm/gpu-feature-discovery`
- [ ] Switch to the `gh-pages` branch and move the newly generated package to either the `stable` helm repo
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.8.0"
appVersion: "0.8.0"
version: "0.8.1"
appVersion: "0.8.1"
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.8.0
app.kubernetes.io/version: 0.8.1
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.8.0
app.kubernetes.io/version: 0.8.1
app.kubernetes.io/part-of: nvidia-gpu
spec:
containers:
- image: nvcr.io/nvidia/gpu-feature-discovery:v0.8.0
- image: nvcr.io/nvidia/gpu-feature-discovery:v0.8.1
name: gpu-feature-discovery
volumeMounts:
- name: output-dir
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.8.0
app.kubernetes.io/version: 0.8.1
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.8.0
app.kubernetes.io/version: 0.8.1
app.kubernetes.io/part-of: nvidia-gpu
spec:
containers:
- image: nvcr.io/nvidia/gpu-feature-discovery:v0.8.0
- image: nvcr.io/nvidia/gpu-feature-discovery:v0.8.1
name: gpu-feature-discovery
volumeMounts:
- name: output-dir
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.8.0
app.kubernetes.io/version: 0.8.1
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.8.0
app.kubernetes.io/version: 0.8.1
app.kubernetes.io/part-of: nvidia-gpu
spec:
containers:
- image: nvcr.io/nvidia/gpu-feature-discovery:v0.8.0
- image: nvcr.io/nvidia/gpu-feature-discovery:v0.8.1
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.8.0
app.kubernetes.io/version: 0.8.1
app.kubernetes.io/part-of: nvidia-gpu
spec:
template:
metadata:
labels:
app.kubernetes.io/name: gpu-feature-discovery
app.kubernetes.io/version: 0.8.0
app.kubernetes.io/version: 0.8.1
app.kubernetes.io/part-of: nvidia-gpu
spec:
nodeName: NODE_NAME
containers:
- image: nvcr.io/nvidia/gpu-feature-discovery:v0.8.0
- image: nvcr.io/nvidia/gpu-feature-discovery:v0.8.1
name: gpu-feature-discovery
args:
- "--oneshot"
Expand Down
38 changes: 19 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ go 1.20
require (
github.com/NVIDIA/go-gpuallocator v0.2.3
github.com/NVIDIA/go-nvml v0.12.0-1
github.com/NVIDIA/k8s-device-plugin v0.14.1-0.20230610140004-7209ee44f948
github.com/stretchr/testify v1.8.0
github.com/NVIDIA/k8s-device-plugin v0.14.1-0.20230711144459-1f3dd06456e8
github.com/stretchr/testify v1.8.2
github.com/urfave/cli/v2 v2.25.7
gitlab.com/nvidia/cloud-native/go-nvlib v0.0.0-20230327171225-18ad7cd513cf
k8s.io/apimachinery v0.27.3
k8s.io/client-go v0.26.0
k8s.io/client-go v0.27.3
k8s.io/klog/v2 v2.100.1
sigs.k8s.io/node-feature-discovery v0.12.1
)
Expand All @@ -23,18 +23,18 @@ require (
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonreference v0.20.1 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/gnostic v0.5.7-v3refs // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
Expand All @@ -45,23 +45,23 @@ require (
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
golang.org/x/mod v0.11.0 // indirect
golang.org/x/net v0.11.0 // indirect
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/term v0.9.0 // indirect
golang.org/x/text v0.10.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/oauth2 v0.7.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/term v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/grpc v1.49.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
google.golang.org/grpc v1.56.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/api v0.26.0 // indirect
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
k8s.io/api v0.27.3 // indirect
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
k8s.io/kubernetes v1.26.5 // indirect
k8s.io/utils v0.0.0-20230505201702-9f6742963106 // indirect
k8s.io/utils v0.0.0-20230711102312-30195339c3c7 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
Expand Down
Loading

0 comments on commit 3bc3055

Please sign in to comment.