OS Manuals

/usr/bin/nfd-worker

From node-feature-discovery-fips-0.19-worker 0.19.0-r17 (enterprise-packages), captured 2026-11-08 by running nfd-worker --help (exit 0). permalink

Usage of nfd-worker:
  -add_dir_header
    	If true, adds the file directory to the header of the log messages (default false)
  -alsologtostderr
    	log to standard error as well as files (no effect when -logtostderr=true) (default false)
  -alsologtostderrthreshold value
    	logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true) (default 0)
  -config string
    	Config file to use. (default "/etc/kubernetes/node-feature-discovery/nfd-worker.conf")
  -feature-gates value
    	A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:
    	DisableAutoPrefix=true|false (ALPHA - default=false)
    	NodeFeatureGroupAPI=true|false (ALPHA - default=false)
  -feature-sources value
    	Comma separated list of feature sources. Special value 'all' enables all sources. Prefix the source name with '-' to disable it.
  -kubeconfig string
    	Kubeconfig to use
  -label-sources value
    	Comma separated list of label sources. Special value 'all' enables all sources. Prefix the source name with '-' to disable it.
  -legacy_stderr_threshold_behavior
    	If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). If false, stderrthreshold is honored even when logtostderr=true (default true)
  -log_backtrace_at value
    	when logging hits line file:N, emit a stack trace
  -log_dir value
    	If non-empty, write log files in this directory (no effect when -logtostderr=true)
  -log_file value
    	If non-empty, use this log file (no effect when -logtostderr=true)
  -log_file_max_size value
    	Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  -logtostderr
    	log to standard error instead of files (default true)
  -no-owner-refs
    	Do not set owner references for NodeFeature object (deprecated: use -owner-refs=).
  -no-publish
    	Do not publish discovered features, disable connection to nfd-master and don't create NodeFeature object.
  -no-publish-features value
    	Comma separated list of feature keys to discover but omit from the published NodeFeature object (e.g. 'pci.device'). Suffix a key with '*' for a prefix match (e.g. 'pci.*'). Reduces object size; only use for features that no NodeFeatureRule or NodeFeatureGroup consumes.
  -one_output
    	If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true) (default false)
  -oneshot
    	Do not publish feature labels
  -options string
    	Specify config options from command line. Config options are specified in the same format as in the config file (i.e. json or yaml). These options
  -owner-refs value
    	Comma separated list of NodeFeature owner reference sources: node, pod, ds. An empty value disables owner references. (default pod,ds)
  -port int
    	Port on which to metrics and healthz endpoints are served (default 8080)
  -skip_headers
    	If true, avoid header prefixes in the log messages (default false)
  -skip_log_headers
    	If true, avoid headers when opening log files (no effect when -logtostderr=true) (default false)
  -stderrthreshold value
    	logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true unless -legacy_stderr_threshold_behavior=false) (default 2)
  -v value
    	number for the log level verbosity (default 0)
  -version
    	Print version and exit.
  -vmodule value
    	comma-separated list of pattern=N settings for file-filtered logging

panic calling String method on zero featuregate.featureGate for flag feature-gates: interface conversion: interface {} is nil, not map[featuregate.Feature]bool
Options (28)
OptionDescriptionSource
-add_dir_headerIf true, adds the file directory to the header of the log messages (default false)help
-alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true) (default false)help
-alsologtostderrthreshold valuelogs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true) (default 0)help
-config stringConfig file to use.help
-feature-gates valueA set of key=value pairs that describe feature gates for alpha/experimental features.help
-feature-sources valueComma separated list of feature sources.help
-kubeconfig stringKubeconfig to usehelp
-label-sources valueComma separated list of label sources.help
-legacy_stderr_threshold_behaviorIf true, stderrthreshold is ignored when logtostderr=true (legacy behavior).help
-log_backtrace_at valuewhen logging hits line file:N, emit a stack tracehelp
-log_dir valueIf non-empty, write log files in this directory (no effect when -logtostderr=true)help
-log_file valueIf non-empty, use this log file (no effect when -logtostderr=true)help
-log_file_max_size valueDefines the maximum size a log file can grow to (no effect when -logtostderr=true).help
-logtostderrlog to standard error instead of files (default true)help
-no-owner-refsDo not set owner references for NodeFeature object (deprecated: use -owner-refs=).help
-no-publishDo not publish discovered features, disable connection to nfd-master and don't create NodeFeature object.help
-no-publish-features valueComma separated list of feature keys to discover but omit from the published NodeFeature object (e.g. 'pci.device').help
-one_outputIf true, only write logs to their native severity level (vs also writing to each lower severity level;help
-oneshotDo not publish feature labelshelp
-options stringSpecify config options from command line.help
-owner-refs valueComma separated list of NodeFeature owner reference sources: node, pod, ds.help
-port intPort on which to metrics and healthz endpoints are served (default 8080)help
-skip_headersIf true, avoid header prefixes in the log messages (default false)help
-skip_log_headersIf true, avoid headers when opening log files (no effect when -logtostderr=true) (default false)help
-stderrthreshold valuelogs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true unless -legacy_stderr_threshold_behavior=false) (default 2)help
-v valuenumber for the log level verbosity (default 0)help
-versionPrint version and exit.help
-vmodule valuecomma-separated list of pattern=N settings for file-filtered logginghelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.