File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,24 @@ Example:
84
84
nfd-worker -kubeconfig ${HOME} /.kube/config
85
85
```
86
86
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 behavior
92
+ ` NoSwap ` and ` LimitedSwap ` . It is important to note that even if swap is enabled at the
93
+ system level, a setting of ` NoSwap ` in the kubelet configuration means that Kubernetes
94
+ workloads will not be permitted to use swap space—although non-Kubernetes processes
95
+ 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
+
87
105
### -feature-sources
88
106
89
107
The ` -feature-sources ` flag specifies a comma-separated list of enabled feature
Original file line number Diff line number Diff line change @@ -245,6 +245,17 @@ Comma-separated list of `pattern=N` settings for file-filtered logging.
245
245
246
246
Default : *empty*
247
247
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 the node.
252
+ Kubernetes currently supports two types of swap behavior `NoSwap` and `LimitedSwap`.
253
+ It is important to note that even if swap is enabled at the system level, a setting of
254
+ ` NoSwap` in the kubelet configuration means that Kubernetes workloads will not be
255
+ permitted to use swap space—although non-Kubernetes processes on the node may still do so.
256
+
257
+ Default : ` /var/lib/kubelet/config.yaml`
258
+
248
259
# # sources
249
260
250
261
The `sources` section contains feature source specific configuration parameters.
You can’t perform that action at this time.
0 commit comments