diff --git a/README.md b/README.md index 0e5492c..56a83d6 100644 --- a/README.md +++ b/README.md @@ -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.3.0/deployments/static/nfd.yaml +kubectl apply -f https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.4.0/deployments/static/nfd.yaml ``` **Note:** This is a simple static daemonset meant to demonstrate the basic @@ -96,7 +96,7 @@ or as a Job. #### Daemonset ```shell -kubectl apply -f https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.3.0/deployments/static/gpu-feature-discovery-daemonset.yaml +kubectl apply -f https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.4.0/deployments/static/gpu-feature-discovery-daemonset.yaml ``` **Note:** This is a simple static daemonset meant to demonstrate the basic @@ -111,7 +111,7 @@ node you want to label: ```shell $ export NODE_NAME= -$ curl https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.3.0/deployments/static/gpu-feature-discovery-job.yaml.template \ +$ curl https://raw.githubusercontent.com/NVIDIA/gpu-feature-discovery/v0.4.0/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 ``` @@ -267,7 +267,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.3.0`) includes a number +The `helm` chart for the latest release of GFD (`v0.4.0`) includes a number of customizable values. The most commonly overridden ones are: ``` @@ -292,8 +292,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.3.0/deployments/helm/gpu-feature-discovery/values.yaml -* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.3.0/deployments/helm/gpu-feature-discovery/charts/node-feature-discovery/values.yaml +* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.4.0/deployments/helm/gpu-feature-discovery/values.yaml +* https://github.com/NVIDIA/gpu-feature-discovery/blob/v0.4.0/deployments/helm/gpu-feature-discovery/charts/node-feature-discovery/values.yaml #### Installing via `helm install` from the `gpu-feature-discovery` `helm` repository @@ -317,7 +317,7 @@ components with the various flags from above. Using the default values for all flags: ```shell $ helm install \ - --version=0.3.0 \ + --version=0.4.0 \ --generate-name \ nvgfd/gpu-feature-discovery ``` @@ -326,7 +326,7 @@ Disabling auto-deployment of NFD and running with a MIG strategy of 'mixed' in the default namespace. ```shell $ helm install \ - --version=0.3.0 \ + --version=0.4.0 \ --generate-name \ --set nfd.deploy=false \ --set migStrategy=mixed @@ -345,7 +345,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.3.0.tgz + https://nvidia.github.com/gpu-feature-discovery/stable/gpu-feature-discovery-0.4.0.tgz ``` Disabling auto-deployment of NFD and running with a MIG strategy of 'mixed' in @@ -356,7 +356,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.3.0.tgz + https://nvidia.github.com/gpu-feature-discovery/stable/gpu-feature-discovery-0.4.0.tgz ``` ## Building and running locally with Docker diff --git a/deployments/helm/gpu-feature-discovery/Chart.yaml b/deployments/helm/gpu-feature-discovery/Chart.yaml index eba0abc..cd46504 100644 --- a/deployments/helm/gpu-feature-discovery/Chart.yaml +++ b/deployments/helm/gpu-feature-discovery/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: gpu-feature-discovery type: application description: A Helm chart for gpu-feature-discovery on Kubernetes -version: "0.3.0" -appVersion: "0.3.0" +version: "0.4.0" +appVersion: "0.4.0" kubeVersion: ">= 1.10.0-0" home: https://github.com/NVIDIA/gpu-feature-discovery diff --git a/deployments/static/gpu-feature-discovery-daemonset-with-mig-mixed.yaml b/deployments/static/gpu-feature-discovery-daemonset-with-mig-mixed.yaml index 013b8ba..a15767d 100644 --- a/deployments/static/gpu-feature-discovery-daemonset-with-mig-mixed.yaml +++ b/deployments/static/gpu-feature-discovery-daemonset-with-mig-mixed.yaml @@ -4,7 +4,7 @@ metadata: name: gpu-feature-discovery labels: app.kubernetes.io/name: gpu-feature-discovery - app.kubernetes.io/version: 0.3.0 + app.kubernetes.io/version: 0.4.0 app.kubernetes.io/part-of: nvidia-gpu spec: selector: @@ -15,11 +15,11 @@ spec: metadata: labels: app.kubernetes.io/name: gpu-feature-discovery - app.kubernetes.io/version: 0.3.0 + app.kubernetes.io/version: 0.4.0 app.kubernetes.io/part-of: nvidia-gpu spec: containers: - - image: nvidia/gpu-feature-discovery:v0.3.0 + - image: nvidia/gpu-feature-discovery:v0.4.0 name: gpu-feature-discovery args: ["--mig-strategy=mixed"] volumeMounts: diff --git a/deployments/static/gpu-feature-discovery-daemonset-with-mig-single.yaml b/deployments/static/gpu-feature-discovery-daemonset-with-mig-single.yaml index 9a42d6f..cf84d55 100644 --- a/deployments/static/gpu-feature-discovery-daemonset-with-mig-single.yaml +++ b/deployments/static/gpu-feature-discovery-daemonset-with-mig-single.yaml @@ -4,7 +4,7 @@ metadata: name: gpu-feature-discovery labels: app.kubernetes.io/name: gpu-feature-discovery - app.kubernetes.io/version: 0.3.0 + app.kubernetes.io/version: 0.4.0 app.kubernetes.io/part-of: nvidia-gpu spec: selector: @@ -15,11 +15,11 @@ spec: metadata: labels: app.kubernetes.io/name: gpu-feature-discovery - app.kubernetes.io/version: 0.3.0 + app.kubernetes.io/version: 0.4.0 app.kubernetes.io/part-of: nvidia-gpu spec: containers: - - image: nvidia/gpu-feature-discovery:v0.3.0 + - image: nvidia/gpu-feature-discovery:v0.4.0 name: gpu-feature-discovery args: ["--mig-strategy=single"] volumeMounts: diff --git a/deployments/static/gpu-feature-discovery-daemonset.yaml b/deployments/static/gpu-feature-discovery-daemonset.yaml index 722642e..dc26c21 100644 --- a/deployments/static/gpu-feature-discovery-daemonset.yaml +++ b/deployments/static/gpu-feature-discovery-daemonset.yaml @@ -4,7 +4,7 @@ metadata: name: gpu-feature-discovery labels: app.kubernetes.io/name: gpu-feature-discovery - app.kubernetes.io/version: 0.3.0 + app.kubernetes.io/version: 0.4.0 app.kubernetes.io/part-of: nvidia-gpu spec: selector: @@ -15,11 +15,11 @@ spec: metadata: labels: app.kubernetes.io/name: gpu-feature-discovery - app.kubernetes.io/version: 0.3.0 + app.kubernetes.io/version: 0.4.0 app.kubernetes.io/part-of: nvidia-gpu spec: containers: - - image: nvidia/gpu-feature-discovery:v0.3.0 + - image: nvidia/gpu-feature-discovery:v0.4.0 name: gpu-feature-discovery volumeMounts: - name: output-dir diff --git a/deployments/static/gpu-feature-discovery-job.yaml.template b/deployments/static/gpu-feature-discovery-job.yaml.template index 2b1d766..00deb1a 100644 --- a/deployments/static/gpu-feature-discovery-job.yaml.template +++ b/deployments/static/gpu-feature-discovery-job.yaml.template @@ -4,19 +4,19 @@ metadata: name: gpu-feature-discovery labels: app.kubernetes.io/name: gpu-feature-discovery - app.kubernetes.io/version: 0.3.0 + app.kubernetes.io/version: 0.4.0 app.kubernetes.io/part-of: nvidia-gpu spec: template: metadata: labels: app.kubernetes.io/name: gpu-feature-discovery - app.kubernetes.io/version: 0.3.0 + app.kubernetes.io/version: 0.4.0 app.kubernetes.io/part-of: nvidia-gpu spec: nodeName: NODE_NAME containers: - - image: nvidia/gpu-feature-discovery:v0.3.0 + - image: nvidia/gpu-feature-discovery:v0.4.0 name: gpu-feature-discovery args: - "--oneshot"