@@ -60,6 +60,13 @@ duration as `--node-status-update-frequency`.
60
60
61
61
The behavior of the static policy can be fine-tuned using the ` --cpu-manager-policy-options ` flag.
62
62
The flag takes a comma-separated list of ` key=value ` policy options.
63
+ This feature can be disabled completely using the ` CPUManagerPolicyOptions ` feature gate.
64
+
65
+ The policy options are split into two groups: alpha quality (hidden by default) and beta quality
66
+ (visible by default). The groups are guarded respectively by the ` CPUManagerPolicyAlphaOptions `
67
+ and ` CPUManagerPolicyBetaOptions ` feature gates. Diverging from the Kubernetes standard, these
68
+ feature gates guard groups of options, because it would have been too cumbersome to add a feature
69
+ gate for each individual option.
63
70
64
71
### None policy
65
72
@@ -218,6 +225,12 @@ equal to one. The `nginx` container is granted 2 exclusive CPUs.
218
225
219
226
# ### Static policy options
220
227
228
+ You can toggle groups of options on and off based upon their maturity level
229
+ using the following feature gates :
230
+ * `CPUManagerPolicyBetaOptions` default enabled. Disable to hide beta-level options.
231
+ * `CPUManagerPolicyAlphaOptions` default disabled. Enable to show alpha-level options.
232
+ You will still have to enable each option using the `CPUManagerPolicyOptions` kubelet option.
233
+
221
234
The following policy options exist for the static `CPUManager` policy :
222
235
* `full-pcpus-only` (beta, visible by default)
223
236
* `distribute-cpus-across-numa` (alpha, hidden by default)
@@ -237,7 +250,7 @@ one NUMA node is required to satisfy the allocation.
237
250
By default, the `CPUManager` will pack CPUs onto one NUMA node until it is
238
251
filled, with any remaining CPUs simply spilling over to the next NUMA node.
239
252
This can cause undesired bottlenecks in parallel code relying on barriers (and
240
- similar synchronization primitivies ), as this type of code tends to run only as
253
+ similar synchronization primitives ), as this type of code tends to run only as
241
254
fast as its slowest worker (which is slowed down by the fact that fewer CPUs
242
255
are available on at least one NUMA node).
243
256
By distributing CPUs evenly across NUMA nodes, application developers can more
0 commit comments