Skip to content

Properly document behaviour of cpu-manager-policy-options #577

@youwalther65

Description

@youwalther65

Since Bottlerocket OS v1.51.0 all kubelet CPU manager beta and GA Static policy options are supported, see merged PR k8s settings migrations for v1.51.0 bottlerocket-os/bottlerocket#4690.

But the API settings doc still just mentions settings.kubernetes.cpu-manager-policy-options here with only one allowed option full-pcpus-only.

Please properly document allowed values and in addition behaviour in case of cpu-manager-policy = "static" and no cpu-manager-policy-options defined.

For kubelet at least I can say that setting no cpu-manager-policy-options) is a valid configuration here:
bash-5.2# journalctl -u kubelet | grep policy_static.go Mar 11 11:28:11 ip-192-168-142-200.eu-west-1.compute.internal kubelet[1934]: I0311 11:28:11.143218    1934 policy_static.go:147] "created with configuration" options={"FullPhysicalCPUsOnly":false,"DistributeCPUsAcrossNUMA":false,"AlignBySocket":false,"DistributeCPUsAcrossCores":false,"StrictCPUReservation":false,"PreferAlignByUncoreCacheOption":false} cpuGroupSize=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions