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 #1296 from marquiz/docs/metrics

docs: document -metrics flag in command line reference
This commit is contained in:
Kubernetes Prow Robot 2023-08-05 03:06:30 -07:00 committed by GitHub
commit 9ed191808d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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