Skip to content

Describe the migration from systemd's cgroup v1 CPU shares to v2 CPU weight formula #52639

@SergeyKanzhelev

Description

@SergeyKanzhelev

This is a Feature Request

Docs needs to be added to explain the change in CPU shares weight calculation for cgroupv2.

  • when the change happened
  • dependant components that are responsible
  • how to make sure k8s is aligned with runc on this calculation
  • any sideeffects
  • what effect it has on older k8s versions

What would you like to be added

See kubernetes/enhancements#5246 (comment)

/sig node
/milestone v1.35
/cc @haircommander @iholder101

Why is this needed

Comments
This change should not affect regular users, but may need explanation for cluster administrators. We will need to link relnotes for 1.35 to this documentation. Theoretically is can affect already released versions as well, but we will mention it in 1.35 notes.

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/nodeCategorizes an issue or PR as relevant to SIG Node.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions