Fix header nesting in cpu-management-policies.md

pull/49613/head
R. P. Taylor 2025-01-31 13:06:14 -08:00 committed by GitHub
parent 2214def272
commit 6b707024f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@ CPU Manager support can be enabled on Windows by using the `WindowsCPUAndMemoryA
and it requires support in the container runtime.
Once the feature gate is enabled, follow the steps below to configure the [CPU manager policy](#configuration).
### Configuration
## Configuration
The CPU Manager policy is set with the `--cpu-manager-policy` kubelet
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
feature gates guard groups of options, because it would have been too cumbersome to add a feature
gate for each individual option.
### Changing the CPU Manager Policy
## Changing the CPU Manager Policy
Since the CPU manager policy can only be applied when kubelet spawns new pods, simply changing from
"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
state file `cpu_manager_state` in the kubelet root directory.
{{< /note >}}
#### `none` policy configuration
### `none` policy configuration
This policy has no extra configuration items.
#### `static` policy configuration
### `static` policy configuration
This policy manages a shared pool of CPUs that initially contains all CPUs in the
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
pool to become empty.
{{< /note >}}
#### Static policy options {#cpu-policy-static--options}
### Static policy options {#cpu-policy-static--options}
You can toggle groups of options on and off based upon their maturity level
using the following feature gates: