OS Manuals

/usr/bin/nfd-master

Node feature discovery for Kubernetes

From node-feature-discovery-0.17 0.17.4-r33 (enterprise-packages), captured 2026-11-08 by running nfd-master --help (exit 0). permalink

Usage of nfd-master:
  -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)
  -config string
    	Config file to use. (default "/etc/kubernetes/node-feature-discovery/nfd-master.conf")
  -deny-label-ns value
    	Comma separated list of denied label namespaces
  -enable-leader-election
    	Enables a leader election. Enable this when running more than one replica on nfd master.
  -enable-taints
    	Enable node tainting feature
  -extra-label-ns value
    	Comma separated list of allowed extra label namespaces
  -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)
  -grpc-health int
    	Port on which to expose the grpc health endpoint. (default 8082)
  -instance string
    	Instance name. Used to separate annotation namespaces for multiple parallel deployments.
  -kubeconfig string
    	Kubeconfig to use
  -label-whitelist value
    	Regular expression to filter label names to publish to the Kubernetes API server. NB: the label namespace is omitted i.e. the filter is only applied to the name part after '/'.
  -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)
  -metrics int
    	Port on which to expose metrics. (default 8081)
  -nfd-api-parallelism int
    	Defines the maximum number of goroutines responsible of updating nodes. Can be used for the throttling mechanism. (default 10)
  -no-publish
    	Do not publish feature labels
  -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)
  -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
  -prune
    	Prune all NFD related attributes from all nodes of the cluster and exit.
  -resync-period value
    	Specify the NFD API controller resync period. (default 1h0m0s)
  -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) (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 (30)
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
-config stringConfig file to use.help
-deny-label-ns valueComma separated list of denied label namespaceshelp
-enable-leader-electionEnables a leader election.help
-enable-taintsEnable node tainting featurehelp
-extra-label-ns valueComma separated list of allowed extra label namespaceshelp
-feature-gates valueA set of key=value pairs that describe feature gates for alpha/experimental features.help
-grpc-health intPort on which to expose the grpc health endpoint.help
-instance stringInstance name.help
-kubeconfig stringKubeconfig to usehelp
-label-whitelist valueRegular expression to filter label names to publish to the Kubernetes API server.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
-metrics intPort on which to expose metrics.help
-nfd-api-parallelism intDefines the maximum number of goroutines responsible of updating nodes.help
-no-publishDo not publish feature labelshelp
-one_outputIf true, only write logs to their native severity level (vs also writing to each lower severity level;help
-options stringSpecify config options from command line.help
-prunePrune all NFD related attributes from all nodes of the cluster and exit.help
-resync-period valueSpecify the NFD API controller resync period.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) (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.