1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-15 04:57:56 +00:00

Merge pull request #491 from marquiz/docs/helm-repo

docs: describe Helm repo as the primary option for Helm
This commit is contained in:
Kubernetes Prow Robot 2021-03-18 08:37:19 -07:00 committed by GitHub
commit f2e50e3105
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,7 +143,17 @@ Node Feature Discovery Helm chart allow to easily deploy and manage NFD.
#### Deployment #### Deployment
To install the chart with the release name node-feature-discovery: To install the latest stable version:
```bash
export NFD_NS=node-feature-discovery
helm repo add nfd http://kubernetes-sigs.github.io/node-feature-discovery/charts
helm repo update
helm install nfd/node-feature-discovery --namespace $NFD_NS --create-namespace --generate-name
```
To install the latest development version you need to clone the NFD Git
repository and install from there.
```bash ```bash
git clone https://github.com/kubernetes-sigs/node-feature-discovery/ git clone https://github.com/kubernetes-sigs/node-feature-discovery/
@ -152,9 +162,8 @@ export NFD_NS=node-feature-discovery
helm install node-feature-discovery ./node-feature-discovery/ --namespace $NFD_NS --create-namespace helm install node-feature-discovery ./node-feature-discovery/ --namespace $NFD_NS --create-namespace
``` ```
The command deploys Node Feature Discovery on the Kubernetes cluster in the See the [configuration](#configuration) section below for instructions how to
default configuration. The Configuration section describes how it can be alter the deployment parameters.
configured during installation.
In order to deploy the [minimal](#minimal) image you need to override the image In order to deploy the [minimal](#minimal) image you need to override the image
tag: tag:
@ -169,14 +178,14 @@ You can override values from `values.yaml` and provide a file with custom values
```bash ```bash
export NFD_NS=node-feature-discovery export NFD_NS=node-feature-discovery
helm install node-feature-discovery ./node-feature-discovery/ -f <path/to/custom/values.yaml> --namespace $NFD_NS --create-namespace helm install nfd/node-feature-discovery -f <path/to/custom/values.yaml> --namespace $NFD_NS --create-namespace
``` ```
To specify each parameter separately you can provide them to helm install command: To specify each parameter separately you can provide them to helm install command:
```bash ```bash
export NFD_NS=node-feature-discovery export NFD_NS=node-feature-discovery
helm install node-feature-discovery ./node-feature-discovery/ --set nameOverride=NFDinstance --set master.replicaCount=2 --namespace $NFD_NS --create-namespace helm install nfd/node-feature-discovery --set nameOverride=NFDinstance --set master.replicaCount=2 --namespace $NFD_NS --create-namespace
``` ```
#### Uninstalling the chart #### Uninstalling the chart