@@ -59,7 +59,7 @@ CPU Manager support can be enabled on Windows by using the `WindowsCPUAndMemoryA
59
59
and it requires support in the container runtime.
60
60
Once the feature gate is enabled, follow the steps below to configure the [ CPU manager policy] ( #configuration ) .
61
61
62
- ### Configuration
62
+ ## Configuration
63
63
64
64
The CPU Manager policy is set with the ` --cpu-manager-policy ` kubelet
65
65
flag or the ` cpuManagerPolicy ` field in [ KubeletConfiguration] ( /docs/reference/config-api/kubelet-config.v1beta1/ ) .
@@ -89,7 +89,7 @@ and `CPUManagerPolicyBetaOptions` feature gates. Diverging from the Kubernetes s
89
89
feature gates guard groups of options, because it would have been too cumbersome to add a feature
90
90
gate for each individual option.
91
91
92
- ### Changing the CPU Manager Policy
92
+ ## Changing the CPU Manager Policy
93
93
94
94
Since the CPU manager policy can only be applied when kubelet spawns new pods, simply changing from
95
95
"none" to "static" won't apply to existing pods. So in order to properly change the CPU manager
@@ -115,11 +115,11 @@ if the set of online CPUs changes on the node, the node must be drained and CPU
115
115
state file ` cpu_manager_state ` in the kubelet root directory.
116
116
{{< /note >}}
117
117
118
- #### ` none ` policy configuration
118
+ ### ` none ` policy configuration
119
119
120
120
This policy has no extra configuration items.
121
121
122
- #### ` static ` policy configuration
122
+ ### ` static ` policy configuration
123
123
124
124
This policy manages a shared pool of CPUs that initially contains all CPUs in the
125
125
node. The amount of exclusively allocatable CPUs is equal to the total
@@ -142,7 +142,7 @@ the static policy is enabled. This is because zero CPU reservation would allow t
142
142
pool to become empty.
143
143
{{< /note >}}
144
144
145
- #### Static policy options {#cpu-policy-static--options}
145
+ ### Static policy options {#cpu-policy-static--options}
146
146
147
147
You can toggle groups of options on and off based upon their maturity level
148
148
using the following feature gates:
0 commit comments