File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,24 @@ Example:
8484nfd-worker -kubeconfig ${HOME} /.kube/config
8585```
8686
87+ ### -kubelet-config-path
88+
89+ The ` -kubeconfig-path ` flag specifies the absolute path to the kubelet configuration
90+ file on the node. This configuration is primarily used by NFD to determine the
91+ swap behavior set on the node. Kubernetes currently supports two types of swap
92+ behavior ` NoSwap ` and ` LimitedSwap ` . It is important to note that even if swap is
93+ enabled at the system level, a setting of ` NoSwap ` in the kubelet configuration
94+ means that Kubernetes workloads will not be permitted to use swap space—although
95+ non-Kubernetes processes on the node may still do so.
96+
97+ Default: ` /var/lib/kubelet/config.yaml `
98+
99+ Example:
100+
101+ ``` bash
102+ nfd-worker -kubeconfig-path /var/lib/kubelet/config.yaml
103+ ```
104+
87105### -feature-sources
88106
89107The ` -feature-sources ` flag specifies a comma-separated list of enabled feature
Original file line number Diff line number Diff line change @@ -245,6 +245,18 @@ Comma-separated list of `pattern=N` settings for file-filtered logging.
245245
246246Default : *empty*
247247
248+ # ## core.kubeletConfigPath
249+
250+ Specifies the absolute path to the kubelet configuration file on the node. This
251+ configuration is primarily used by NFD to determine the swap behavior set on
252+ the node. Kubernetes currently supports two types of swap behavior `NoSwap` and
253+ ` LimitedSwap` . It is important to note that even if swap is enabled at the
254+ system level, a setting of `NoSwap` in the kubelet configuration means that
255+ Kubernetes workloads will not be permitted to use swap space—although
256+ non-Kubernetes processes on the node may still do so.
257+
258+ Default : ` /var/lib/kubelet/config.yaml`
259+
248260# # sources
249261
250262The `sources` section contains feature source specific configuration parameters.
You can’t perform that action at this time.
0 commit comments