</code></pre></div></div><h3id="coresources">core.sources</h3><p><codeclass="language-plaintext highlighter-rouge notranslate">core.sources</code> specifies the list of enabled feature sources. A special value <codeclass="language-plaintext highlighter-rouge notranslate">all</code> enables all feature sources.</p><p>Note: Overridden by the deprecated <codeclass="language-plaintext highlighter-rouge notranslate">--sources</code> command line flag (if specified).</p><p>Default: <codeclass="language-plaintext highlighter-rouge notranslate">[all]</code></p><p>Example:</p><divclass="language-yaml highlighter-rouge notranslate"><divclass="highlight"><preclass="highlight"><code><spanclass="na">core</span><spanclass="pi">:</span>
</code></pre></div></div><h3id="corelabelwhitelist">core.labelWhiteList</h3><p><codeclass="language-plaintext highlighter-rouge notranslate">core.labelWhiteList</code> specifies a regular expression for filtering feature labels based on the label name. Non-matching labels are not published.</p><p>Note: The regular expression is only matches against the "basename" part of the label, i.e. to the part of the name after ‘/'. The label prefix (or namespace) is omitted.</p><p>Note: Overridden by the deprecated <codeclass="language-plaintext highlighter-rouge notranslate">--label-whitelist</code> command line flag (if specified).</p><p>Default: <codeclass="language-plaintext highlighter-rouge notranslate">null</code></p><p>Example:</p><divclass="language-yaml highlighter-rouge notranslate"><divclass="highlight"><preclass="highlight"><code><spanclass="na">core</span><spanclass="pi">:</span>
</code></pre></div></div><h3id="corenopublish">core.noPublish</h3><p>Setting <codeclass="language-plaintext highlighter-rouge notranslate">core.noPublish</code> to <codeclass="language-plaintext highlighter-rouge notranslate">true</code> disables all communication with the nfd-master. It is effectively a "dry-run" flag: nfd-worker runs feature detection normally, but no labeling requests are sent to nfd-master.</p><p>Note: Overridden by the <codeclass="language-plaintext highlighter-rouge notranslate">--no-publish</code> command line flag (if specified).</p><p>Default: <codeclass="language-plaintext highlighter-rouge notranslate">false</code></p><p>Example:</p><divclass="language-yaml highlighter-rouge notranslate"><divclass="highlight"><preclass="highlight"><code><spanclass="na">core</span><spanclass="pi">:</span>
</code></pre></div></div><h3id="coreklog">core.klog</h3><p>The following options specify the logger configuration. Most of which can be dynamically adjusted at run-time.</p><p>Note: The logger options can also be specified via command line flags which take precedence over any corresponding config file options.</p><h4id="coreklogadddirheader">core.klog.addDirHeader</h4><p>If true, adds the file directory to the header of the log messages.</p><p>Default: false</p><p>Run-time configurable: yes</p><h4id="coreklogalsologtostderr">core.klog.alsologtostderr</h4><p>Log to standard error as well as files.</p><p>Default: false</p><p>Run-time configurable: yes</p><h4id="corekloglogbacktraceat">core.klog.logBacktraceAt</h4><p>When logging hits line file:N, emit a stack trace.</p><p>Default: <em>empty</em></p><p>Run-time configurable: yes</p><h4id="corekloglogdir">core.klog.logDir</h4><p>If non-empty, write log files in this directory.</p><p>Default: <em>empty</em></p><p>Run-time configurable: no</p><h4id="corekloglogfile">core.klog.logFile</h4><p>If non-empty, use this log file.</p><p>Default: <em>empty</em></p><p>Run-time configurable: no</p><h4id="corekloglogfilemaxsize">core.klog.logFileMaxSize</h4><p>Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited.</p><p>Default: 1800</p><p>Run-time configurable: no</p><h4id="corekloglogtostderr">core.klog.logtostderr</h4><p>Log to standard error instead of files</p><p>Default: true</p><p>Run-time configurable: yes</p><h4id="coreklogskipheaders">core.klog.skipHeaders</h4><p>If true, avoid header prefixes in the log messages.</p><p>Default: false</p><p>Run-time configurable: yes</p><h4id="coreklogskiplogheaders">core.klog.skipLogHeaders</h4><p>If true, avoid headers when opening log files.</p><p>Default: false</p><p>Run-time configurable: no</p><h4id="coreklogstderrthreshold">core.klog.stderrthreshold</h4><p>Logs at or above this threshold go to stderr (default 2)</p><p>Run-time configurable: yes</p><h4id="coreklogv">core.klog.v</h4><p>Number for the log level verbosity.</p><p>Default: 0</p><p>Run-time configurable: yes</p><h4id="coreklogvmodule">core.klog.vmodule</h4><p>Comma-separated list of <codeclass="language-plaintext highlighter-rouge notranslate">pattern=N</code> settings for file-filtered logging.</p><p>Default: <em>empty</em></p><p>Run-time configurable: yes</p><h2id="sources">sources</h2><p>The <codeclass="language-plaintext highlighter-rouge notranslate">sources</code> section contains feature source specific configuration parameters.</p><h3id="sourcescpu">sources.cpu</h3><h3id="sourceskernel">sources.kernel</h3><h3id="sourespci">soures.pci</h3><h3id="sourcesusb">sources.usb</h3><h3id="sourcescustom">sources.custom</h3></div></div><divclass="navigation-bottom d-flex flex-justify-between py-3"role="navigation"aria-label="footer navigation"><divclass="prev"><ahref="/node-feature-discovery/master/advanced/worker-commandline-reference.html"class="btn"title="Worker cmdline reference"accesskey="p"rel="prev"><iclass="fa fa-arrow-circle-left"></i> Previous </a></div><divclass="next"></div></div><hr><divclass="copyright text-center text-gray"role="contentinfo"><iclass="fa fa-copyright"></i><spanclass="time">2016-2021,</span><aclass="text-gray"href="https://github.com/kubernetes-sigs"rel="noreferrer"target="_blank">Kubernetes SIGs</a> Revision <aclass="text-gray"href="https://github.com/kubernetes-sigs/node-feature-discovery/commit/"title=""rel="noreferrer"target="_blank"></a><br><divclass="generator"> Built with <ahref="https://jekyllrb.com"rel="noreferrer"target="_blank">Jekyll</a> using a <ahref="https://github.com/rundocs/jekyll-rtd-theme"rel="noreferrer"target="_blank"title="remote theme: jekyll-rtd-theme v2.0.9">theme</a> provided by <ahref="https://rundocs.io"rel="noreferrer"target="_blank">RunDocs</a>. </div></div></div></div><divclass="addons-wrapd-flexflex-columnoverflow-y-aut