@@ -175,8 +175,8 @@ e2e-tests:
175
175
176
176
> **** DEPRECATED** : Running NFD locally is deprecated and will be removed in a
177
177
> future release. It depends on the gRPC API which is deprecated and will be
178
- > removed in a future release. To run NFD locally, use the
179
- > ` -enable-nodefeature-api =false` flag.
178
+ > removed in a future release. To run NFD locally, disable the NodeFeature API
179
+ > with ` -feature-gates NodeFeatureAPI =false` flag.
180
180
181
181
You can run NFD locally, either directly on your host OS or in containers for
182
182
testing and development purposes. This may be useful e.g. for checking
@@ -186,12 +186,12 @@ features-detection.
186
186
187
187
When running as a standalone container labeling is expected to fail because
188
188
Kubernetes API is not available. Thus, it is recommended to use ` -no-publish`
189
- Also specify ` -crd-controller=false` and ` -enable-nodefeature-api =false`
189
+ Also specify ` -crd-controller=false` and ` -feature-gates NodeFeatureAPI =false`
190
190
command line flags to disable CRD controller and enable gRPC. E.g.
191
191
192
192
` ` ` bash
193
193
$ export NFD_CONTAINER_IMAGE={{ site.container_image }}
194
- $ docker run --rm --name=nfd-test ${NFD_CONTAINER_IMAGE} nfd-master -no-publish -crd-controller=false -enable-nodefeature-api =false
194
+ $ docker run --rm --name=nfd-test ${NFD_CONTAINER_IMAGE} nfd-master -no-publish -crd-controller=false -feature-gates NodeFeatureAPI =false
195
195
2019/02/01 14:48:21 Node Feature Discovery Master < NFD_VERSION>
196
196
2019/02/01 14:48:21 gRPC server serving on port: 8080
197
197
` ` `
@@ -202,7 +202,7 @@ To run nfd-worker as a "stand-alone" container you need to run it in the same
202
202
network namespace as the nfd-master container:
203
203
204
204
` ` ` bash
205
- $ docker run --rm --network=container:nfd-test ${NFD_CONTAINER_IMAGE} nfd-worker -enable-nodefeature-api =false
205
+ $ docker run --rm --network=container:nfd-test ${NFD_CONTAINER_IMAGE} nfd-worker -feature-gates NodeFeatureAPI =false
206
206
2019/02/01 14:48:56 Node Feature Discovery Worker < NFD_VERSION>
207
207
...
208
208
` ` `
0 commit comments