Skip to content

Add blog on shifting to cgroup v2 after cgroup v1 deprecation in v1.35 - #56945

Open
pacoxu wants to merge 5 commits into
kubernetes:mainfrom
pacoxu:cgroupv2-blog-2026
Open

Add blog on shifting to cgroup v2 after cgroup v1 deprecation in v1.35#56945
pacoxu wants to merge 5 commits into
kubernetes:mainfrom
pacoxu:cgroupv2-blog-2026

Conversation

@pacoxu

@pacoxu pacoxu commented Aug 12, 2026

Copy link
Copy Markdown
Member

Description

Preview: https://deploy-preview-56945--kubernetes-io-main-staging.netlify.app/blog/2026/08/20/kubernetes-cgroups-v2-shift/

This PR is based on #47342.

I will update according to latest changes around cgroup v2/v1.

Issue

Closes: None

Table of contents

  • Deprecation of cgroup v1
  • Limitations of cgroup v1 and improvements with cgroup v2
    • active_file memory handling
    • Memory QoS updates in Kubernetes v1.36
    • Container-aware OOM handling
    • Rootless support and Pod user namespaces
    • PSI, eBPF, and migration considerations
    • CPU weight conversion in newer OCI runtimes
    • In-place resource updates
  • Adopting cgroup v2
    • Requirements
    • Linux kernel updates
    • Using the systemd cgroup driver
    • Troubleshooting tools and commands
  • Further reading

@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 12, 2026
@kubernetes-prow
kubernetes-prow Bot requested a review from Gauravpadam August 12, 2026 09:57
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign graz-dev for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow
kubernetes-prow Bot requested a review from lmktfy August 12, 2026 09:57
@kubernetes-prow kubernetes-prow Bot added area/blog Issues or PRs related to the Kubernetes Blog subproject language/en Issues or PRs related to English language labels Aug 12, 2026
@netlify

netlify Bot commented Aug 12, 2026

Copy link
Copy Markdown

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 8d3ede4
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/6a7c4c9e5dd40b0008852ceb
😎 Deploy Preview https://deploy-preview-56945--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pacoxu

pacoxu commented Aug 12, 2026

Copy link
Copy Markdown
Member Author

/cc @kannon92 @neolit123 @sohankunkerkar @KentaTada

Sorry for the delay.
I picked up this blog post again and updated it for the latest v1.35/v1.36 changes.

Since you reviewed the original PR #47342 two years ago, would you mind giving it another quick look when you get a chance?

@kubernetes-prow

Copy link
Copy Markdown
Contributor

@pacoxu: GitHub didn't allow me to request PR reviews from the following users: KentaTada.

Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

/cc @kannon92 @neolit123 @sohankunkerkar @KentaTada

Sorry for the delay.
I picked up this blog post again and updated it for the latest v1.35/v1.36 changes.

Since you reviewed the original PR #47342 two years ago, would you mind giving it another quick look when you get a chance?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@pacoxu
pacoxu force-pushed the cgroupv2-blog-2026 branch from 8e31cce to 8d3ede4 Compare August 12, 2026 10:36
---
layout: blog
title: 'The Shift to cgroup v2 in Kubernetes: What You Need to Know'
draft: true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update draft=false, once the blog is ready and publish date is confirmed.

@neolit123 neolit123 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one inline comment.
also a question - should we mention that we now have strict validation for cgroups v2 from the system-validators lib?

memory requests and limits for containers that perform intensive I/O, after measuring an appropriate
value.

### Memory QoS updates in Kubernetes v1.36

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i recommend adding a note how memoryqos relates to cgroups v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/blog Issues or PRs related to the Kubernetes Blog subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants