Skip to content

Commit 535cf0f

Browse files
bobbypageTim Bannister
andcommitted
Apply suggestions from code review
Co-authored-by: Tim Bannister <[email protected]> Signed-off-by: David Porter <[email protected]>
1 parent e87e224 commit 535cf0f

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

content/en/blog/_posts/2022-08-04-cgroupv2-ga.md renamed to content/en/blog/_posts/2022-08-31-cgroupv2-ga.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ date: 2022-08-31
55
slug: cgroupv2-ga-1-25
66
---
77

8-
**Authors:**: David Porter (Google), Mrunal Patel (RedHat)
8+
**Authors:**: David Porter (Google), Mrunal Patel (Red Hat)
99

1010
Kubernetes 1.25 brings cgroup v2 to GA (general availability), letting the
11-
kubelet use the latest resource management capabilities.
11+
[kubelet](/docs/concepts/overview/components/#kubelet) use the latest container resource
12+
management capabilities.
1213

1314
## What are cgroups?
1415

@@ -33,30 +34,31 @@ unified control system with enhanced resource management capabilities.
3334

3435
cgroup v2 has been development in the Linux Kernel since 2016 and in recent
3536
years has matured across the container ecosystem. With Kubernetes 1.25, cgroup
36-
v2 support is graduating to GA.
37+
v2 support has graduated to general availability.
3738

38-
Many new Linux distributions have switched over to cgroup v2 by default so it's
39-
important that Kubernetes continues to work well on these new updated distros.
39+
Many recent releases of Linux distributions have switched over to cgroup v2 by
40+
default so it's important that Kubernetes continues to work well on these new
41+
updated distros.
4042

4143
cgroup v2 offers several improvements over cgroup v1, such as the following:
4244

4345
* Single unified hierarchy design in API
4446
* Safer sub-tree delegation to containers
45-
* Newer features like Pressure Stall Information
47+
* Newer features like [Pressure Stall Information](https://www.kernel.org/doc/html/latest/accounting/psi.html)
4648
* Enhanced resource allocation management and isolation across multiple resources
4749
* Unified accounting for different types of memory allocations (network and kernel memory, etc)
4850
* Accounting for non-immediate resource changes such as page cache write backs
4951

5052
Some Kubernetes features exclusively use cgroup v2 for enhanced resource
5153
management and isolation. For example,
52-
the [MemoryQoS feature](https://kubernetes.io/blog/2021/11/26/qos-memory-resources/) improves
53-
memory QoS and relies on cgroup v2 functionality to enable it. New resource
54-
management features in the kubelet will also take advantage of the new cgroup
55-
v2 features moving forward.
54+
the [MemoryQoS feature](/blog/2021/11/26/qos-memory-resources/) improves
55+
memory utilization and relies on cgroup v2 functionality to enable it. New
56+
resource management features in the kubelet will also take advantage of the new
57+
cgroup v2 features moving forward.
5658

5759
## How do you use cgroup v2?
5860

59-
Many Linux distributions are switching to cgroup v2 by default, you might start
61+
Many Linux distributions are switching to cgroup v2 by default; you might start
6062
using it the next time you update the Linux version of your control plane and
6163
nodes!
6264

@@ -76,7 +78,7 @@ refer to [Check your cgroup version](/docs/concepts/architecture/cgroups/#check-
7678
consult your distribution's documentation.
7779

7880
If you're using a managed Kubernetes offering, consult your provider to
79-
determine how they're adopting cgroup v2.
81+
determine how they're adopting cgroup v2, and whether you need to take action.
8082

8183
To use cgroup v2 with Kubernetes, you must meet the following requirements:
8284

@@ -119,7 +121,7 @@ Scenarios in which you might need to update to cgroup v2 include the following:
119121

120122
## Learn more
121123

122-
* Read the [Kubernetes cgroup v2 documentation](/docs/concepts/architecture/cgroups)
124+
* Read the [Kubernetes cgroup v2 documentation](/docs/concepts/architecture/cgroups/)
123125
* Read the enhancement proposal, [KEP 2254](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/2254-cgroup-v2/README.md)
124126
* Learn more about
125127
[cgroups](https://man7.org/linux/man-pages/man7/cgroups.7.html) on Linux Manual Pages

0 commit comments

Comments
 (0)