mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-28 02:37:11 +00:00
Updated CLI usage info in README.
This commit is contained in:
parent
2e58484ea1
commit
906412d961
2 changed files with 22 additions and 5 deletions
19
README.md
19
README.md
|
@ -26,7 +26,24 @@ those features using node labels.
|
|||
|
||||
## Command line interface
|
||||
|
||||
[](https://asciinema.org/a/arabw7ch52jev90sjjk242vh9)
|
||||
```
|
||||
node-feature-discovery.
|
||||
|
||||
Usage:
|
||||
node-feature-discovery [--no-publish --sources=<sources> --label-whitelist=<pattern>]
|
||||
node-feature-discovery -h | --help
|
||||
node-feature-discovery --version
|
||||
|
||||
Options:
|
||||
-h --help Show this screen.
|
||||
--version Output version and exit.
|
||||
--sources=<sources> Comma separated list of feature sources.
|
||||
[Default: cpuid,rdt,pstate]
|
||||
--no-publish Do not publish discovered features to the
|
||||
cluster-local Kubernetes API server.
|
||||
--label-whitelist=<pattern> Regular expression to filter label names to
|
||||
publish to the Kubernetes API server. [Default: ]
|
||||
```
|
||||
|
||||
## Feature discovery
|
||||
|
||||
|
|
8
main.go
8
main.go
|
@ -70,10 +70,10 @@ func main() {
|
|||
--version Output version and exit.
|
||||
--sources=<sources> Comma separated list of feature sources.
|
||||
[Default: cpuid,rdt,pstate]
|
||||
--no-publish Do not publish discovered features to the cluster-local
|
||||
Kubernetes API server.
|
||||
--label-whitelist=<pattern> Regular expression to filter label names to publish to the Kubernetes API server.
|
||||
[Default: ]`,
|
||||
--no-publish Do not publish discovered features to the
|
||||
cluster-local Kubernetes API server.
|
||||
--label-whitelist=<pattern> Regular expression to filter label names to
|
||||
publish to the Kubernetes API server. [Default: ]`,
|
||||
ProgramName,
|
||||
ProgramName,
|
||||
ProgramName,
|
||||
|
|
Loading…
Add table
Reference in a new issue