1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00

Merge pull request #471 from marquiz/devel/image-minimal

docs: describe deployment of the minimal image
This commit is contained in:
Kubernetes Prow Robot 2021-03-15 08:05:05 -07:00 committed by GitHub
commit d15227fe5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,6 +81,14 @@ is recommended to be done via
EOF
```
In order to deploy the [minimal](#minimal) image you need to add
```yaml
image: {{ site.container_image }}-minimal
```
to the metadata of NodeFeatureDiscovery object above.
### Deployment templates
The template specs provided in the repo can be used directly:
@ -94,7 +102,7 @@ This will required RBAC rules and deploy nfd-master (as a deployment) and
nfd-worker (as a daemonset) in the `node-feature-discovery` namespace.
Alternatively you can download the templates and customize the deployment
manually.
manually. For example, to deploy the [minimal](#minimal) image.
#### Master-worker pod
@ -148,6 +156,13 @@ The command deploys Node Feature Discovery on the Kubernetes cluster in the
default configuration. The Configuration section describes how it can be
configured during installation.
In order to deploy the [minimal](#minimal) image you need to override the image
tag:
```bash
helm install node-feature-discovery ./node-feature-discovery/ --set image.tag={{ site.release }}-minimal --namespace $NFD_NS --create-namespace
```
#### Configuration
You can override values from `values.yaml` and provide a file with custom values: