mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-31 04:04:51 +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:
parent
6d30ca9660
commit
4b7ee47e5f
2 changed files with 28 additions and 0 deletions
|
@ -48,6 +48,20 @@ Example:
|
||||||
nfd-master -port=443
|
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
|
### -instance
|
||||||
|
|
||||||
The `-instance` flag makes it possible to run multiple NFD deployments in
|
The `-instance` flag makes it possible to run multiple NFD deployments in
|
||||||
|
|
|
@ -212,6 +212,20 @@ Example:
|
||||||
nfd-worker -enable-nodefeature-api
|
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
|
### -no-publish
|
||||||
|
|
||||||
The `-no-publish` flag disables all communication with the nfd-master and the
|
The `-no-publish` flag disables all communication with the nfd-master and the
|
||||||
|
|
Loading…
Add table
Reference in a new issue