<!DOCTYPE html><htmllang="en"dir="auto"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=5, user-scalable=no"><metaname="description"content="NFD-Worker NFD-Worker is preferably run as a Kubernetes DaemonSet. This assures re-labeling on regular intervals capturing changes in the system co..."><metaname="revised"content=""><metaname="author"content="Kubernetes SIGs"><metaname="generator"content="jekyll-rtd-theme v2.0.10"><metaname="theme-color"content="#2980b9"><title>NFD-Worker · Node Feature Discovery</title><metaname="twitter:title"content="NFD-Worker · Node Feature Discovery"><metaname="twitter:description"content="NFD-Worker NFD-Worker is preferably run as a Kubernetes DaemonSet. This assures re-labeling on regular intervals capturing changes in the system co..."><metaname="twitter:card"content="summary"><metaname="twitter:site"content="@Kubernetes SIGs"><metaname="twitter:url"content="https://kubernetes-sigs.github.com/node-feature-discovery/v0.16/usage/nfd-worker.html"><metaname="twitter:creator"content="@jekyll-rtd-theme v2.0.10"><metaproperty="og:title"content="NFD-Worker · Node Feature Discovery"><metaproperty="og:description"content="NFD-Worker NFD-Worker is preferably run as a Kubernetes DaemonSet. This assures re-labeling on regular intervals capturing changes in the system co..."><metaproperty="og:locale"content="en"><metaproperty="og:url"content="https://kubernetes-sigs.github.com/node-feature-discovery/v0.16/usage/nfd-worker.html"><metaproperty="og:type"content="article"><metaproperty="article:author"content="Kubernetes SIGs"><metaproperty="article:published_time"content="2016-07-23T05:07:52+00:00"><metaproperty="article:modified_time"content="2024-12-13T11:23:21+00:00"><scripttype="application/ld+json">{"@context":"https://schema.org","@type":"Article","mainEntityOfPage":{"@type":"WebPage","@id":"https://kubernetes-sigs.github.com/node-feature-discovery/v0.16/usage/nfd-worker.html"},"headline":"NFD-Worker · Node Feature Discovery","image":[],"author":{"@type":"Person","name":"Kubernetes SIGs"},"datePublished":"2016-07-23T05:07:52+00:00","dateModified":"2024-12-13T11:23:21+00:00","publisher":{"@type":"Organization","name":"Kubernetes SIGs","logo":{"@type":"ImageObject","url":"https://avatars.githubusercontent.com/u/36015203?v=4"}},"description":"NFD-Worker NFD-Worker is preferably run as a Kubernetes DaemonSet. This assures re-labeling on regular intervals capturing changes in the system co..."}</script><linkrel="dns-prefetch"href="https://cdn.jsdelivr.net"><linkrel="prev"href="https://kubernetes-sigs.github.com/node-feature-discovery/v0.16/usage/nfd-master.html"><linkrel="next"href="https://kubernetes-sigs.github.com/node-feature-discovery/v0.16/usage/nfd-topology-updater.html"><linkrel="canonical"href="https://kubernetes-sigs.github.com/node-feature-discovery/v0.16/usage/nfd-worker.html"><linkrel="icon"type="image/svg+xml"href="/node-feature-discovery/v0.16/assets/images/favicon.svg"><linkrel="icon"type="image/png"href="/node-feature-discovery/v0.16/assets/images/favicon-16x16.png"sizes="16x16"><linkrel="icon"type="image/png"href="/node-feature-discovery/v0.16/assets/images/favicon-32x32.png"sizes="32x32"><linkrel="icon"type="image/png"href="/node-feature-discovery/v0.16/assets/images/favicon-96x96.png"sizes="96x96"><linkrel="mask-icon"href="/node-feature-discovery/v0.16/assets/images/favicon.svg"color="#2980b9"><linkrel="apple-touch-icon"href="/node-feature-discovery/v0.16/assets/images/apple-touch-icon-300x300.jpg"><linkrel="stylesheet"href="https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme@2.0.10/assets/css/theme.min.css"><style>@media(min-width:1280px){.content-wrap{max-width:1200px}}</style><script>window.ui={title:"NodeFeatureDiscovery",baseurl:"/node-feature-discovery/v0.16",i18n:{search_results:"SearchResults",search_results_found:"Searchfinished,found#page(s)matchi
</code></pre></div></div><p>In Helm deployments, <ahref="/node-feature-discovery/v0.16/deployment/helm.html#worker-pod-parameters">Worker pod parameter</a><codeclass="language-plaintext highlighter-rouge notranslate">worker.config</code> can be used to edit the respective configuration.</p><p>See <ahref="../reference/worker-configuration-reference">nfd-worker configuration file reference</a> for more details. The (empty-by-default) <ahref="https://github.com/kubernetes-sigs/node-feature-discovery/blob/v0.16.6/deployment/components/worker-config/nfd-worker.conf.example">example config</a> contains all available configuration options and can be used as a reference for creating a configuration.</p><p>Configuration options can also be specified via the <codeclass="language-plaintext highlighter-rouge notranslate">-options</code> command line flag, in which case no mounts need to be used. The same format as in the config file must be used, i.e. JSON (or YAML). For example:</p><divclass="language-bash highlighter-rouge notranslate"><divclass="highlight"><preclass="highlight"><code><spanclass="nt">-options</span><spanclass="o">=</span><spanclass="s1">'{"sources": { "pci": { "deviceClassWhitelist": ["12"] } } }'</span>