1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-31 04:04:51 +00:00

update default

This commit is contained in:
Igor Velichkovich 2025-01-04 20:04:43 -08:00
parent 00d8fd662e
commit ea99b73dec
2 changed files with 3 additions and 3 deletions

View file

@ -117,8 +117,8 @@ func initFlags(flagset *flag.FlagSet) (*master.Args, *master.ConfigOverrideArgs)
"in the same format as in the config file (i.e. json or yaml). These options")
flagset.BoolVar(&args.EnableLeaderElection, "enable-leader-election", false,
"Enables a leader election. Enable this when running more than one replica on nfd master.")
flagset.Int64Var(&args.ListSize, "informer-list-size", 0,
"The list size to use when listing node features to sync informer cache. Size of zero disables pagination.")
flagset.Int64Var(&args.ListSize, "informer-list-size", 200,
"The list size to use when listing node features to sync informer cache.")
args.Klog = klogutils.InitKlogFlags(flagset)

View file

@ -178,7 +178,7 @@ nfd-master -deny-label-ns=*.vendor.com,vendor-2.io
The `-informer-list-size` flag is used to control pagination during informer cache sync on nfd-master startup.
This is useful to control load on api-server/etcd as listing `nodefeatures` can be expensive, especially in large clusters.
Default: 0 (no pagination)
Default: 200
Example: