Skip to content

Commit 2864033

Browse files
authored
Merge pull request #49613 from rptaylor/patch-1
Fix header nesting in cpu-management-policies.md
2 parents 7d92b9c + 6b70702 commit 2864033

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/tasks/administer-cluster/cpu-management-policies.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ CPU Manager support can be enabled on Windows by using the `WindowsCPUAndMemoryA
5959
and it requires support in the container runtime.
6060
Once the feature gate is enabled, follow the steps below to configure the [CPU manager policy](#configuration).
6161

62-
### Configuration
62+
## Configuration
6363

6464
The CPU Manager policy is set with the `--cpu-manager-policy` kubelet
6565
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
8989
feature gates guard groups of options, because it would have been too cumbersome to add a feature
9090
gate for each individual option.
9191

92-
### Changing the CPU Manager Policy
92+
## Changing the CPU Manager Policy
9393

9494
Since the CPU manager policy can only be applied when kubelet spawns new pods, simply changing from
9595
"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
115115
state file `cpu_manager_state` in the kubelet root directory.
116116
{{< /note >}}
117117

118-
#### `none` policy configuration
118+
### `none` policy configuration
119119

120120
This policy has no extra configuration items.
121121

122-
#### `static` policy configuration
122+
### `static` policy configuration
123123

124124
This policy manages a shared pool of CPUs that initially contains all CPUs in the
125125
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
142142
pool to become empty.
143143
{{< /note >}}
144144

145-
#### Static policy options {#cpu-policy-static--options}
145+
### Static policy options {#cpu-policy-static--options}
146146

147147
You can toggle groups of options on and off based upon their maturity level
148148
using the following feature gates:

0 commit comments

Comments
 (0)