mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-17 05:48:21 +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,
|
flagset.BoolVar(&args.Oneshot, "oneshot", false,
|
||||||
"Update once and exit")
|
"Update once and exit")
|
||||||
flagset.BoolVar(&args.NoPublish, "no-publish", false,
|
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", "",
|
flagset.StringVar(&args.KubeConfigFile, "kubeconfig", "",
|
||||||
"Kube config file.")
|
"Kube config file.")
|
||||||
flagset.IntVar(&args.MetricsPort, "metrics", 8081,
|
flagset.IntVar(&args.MetricsPort, "metrics", 8081,
|
||||||
|
|
|
@ -46,10 +46,10 @@ nfd-topology-updater -config=/opt/nfd/nfd-topology-updater.conf
|
||||||
|
|
||||||
### -no-publish
|
### -no-publish
|
||||||
|
|
||||||
The `-no-publish` flag disables all communication with the nfd-master, making
|
The `-no-publish` flag makes for a "dry-run" flag for nfd-topology-updater.
|
||||||
it a "dry-run" flag for nfd-topology-updater. NFD-Topology-Updater runs
|
NFD-Topology-Updater runs resource hardware topology detection normally, but
|
||||||
resource hardware topology detection normally, but no CR requests are sent to
|
[NodeResourceTopology](../usage/custom-resources.md#noderesourcetopology)
|
||||||
nfd-master.
|
objects are not created or updated.
|
||||||
|
|
||||||
Default: *false*
|
Default: *false*
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue