mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
topology-updater: document the -no-publish flag correctly
This commit is contained in:
parent
d80e4f7411
commit
d7ec0bf674
2 changed files with 5 additions and 5 deletions
|
@ -102,7 +102,7 @@ func initFlags(flagset *flag.FlagSet) (*topology.Args, *resourcemonitor.Args) {
|
|||
flagset.BoolVar(&args.Oneshot, "oneshot", false,
|
||||
"Update once and exit")
|
||||
flagset.BoolVar(&args.NoPublish, "no-publish", false,
|
||||
"Do not publish discovered features to the cluster-local Kubernetes API server.")
|
||||
"Do not create or update NodeResourceTopology objects.")
|
||||
flagset.StringVar(&args.KubeConfigFile, "kubeconfig", "",
|
||||
"Kube config file.")
|
||||
flagset.IntVar(&args.MetricsPort, "metrics", 8081,
|
||||
|
|
|
@ -46,10 +46,10 @@ nfd-topology-updater -config=/opt/nfd/nfd-topology-updater.conf
|
|||
|
||||
### -no-publish
|
||||
|
||||
The `-no-publish` flag disables all communication with the nfd-master, making
|
||||
it a "dry-run" flag for nfd-topology-updater. NFD-Topology-Updater runs
|
||||
resource hardware topology detection normally, but no CR requests are sent to
|
||||
nfd-master.
|
||||
The `-no-publish` flag makes for a "dry-run" flag for nfd-topology-updater.
|
||||
NFD-Topology-Updater runs resource hardware topology detection normally, but
|
||||
[NodeResourceTopology](../usage/custom-resources.md#noderesourcetopology)
|
||||
objects are not created or updated.
|
||||
|
||||
Default: *false*
|
||||
|
||||
|
|
Loading…
Reference in a new issue