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

docs: document -metrics flag in command line reference

Document the -metrics command line flag in the command line reference of
nfd-master and nfd-worker.
This commit is contained in:
Markus Lehtonen 2023-08-04 16:41:50 +03:00
parent 6d30ca9660
commit 4b7ee47e5f
2 changed files with 28 additions and 0 deletions

View file

@ -48,6 +48,20 @@ Example:
nfd-master -port=443
```
### -metrics
The `-metrics` flag specifies the port on which to expose
[Prometheus](https://prometheus.io/) metrics. Setting this to 0 disables the
metrics server on nfd-master.
Default: 8081
Example:
```bash
nfd-master -metrics=12345
```
### -instance
The `-instance` flag makes it possible to run multiple NFD deployments in

View file

@ -212,6 +212,20 @@ Example:
nfd-worker -enable-nodefeature-api
```
### -metrics
The `-metrics` flag specifies the port on which to expose
[Prometheus](https://prometheus.io/) metrics. Setting this to 0 disables the
metrics server on nfd-worker.
Default: 8081
Example:
```bash
nfd-worker -metrics=12345
```
### -no-publish
The `-no-publish` flag disables all communication with the nfd-master and the