4 Using cgroups for processes in our Pods
This chapter covers
- Exploring the basics of cgroups
- Identifying Kubernetes processes
- Learning how to create and manage cgroups
- Using Linux commands to investigate cgroup hierarchies
- Understanding cgroup v2 versus cgroup v1
- Installing Prometheus and looking at Pod resource usage
The last chapter was pretty granular, and you might have found it a little bit theoretical. After all, nobody really needs to build their own Pods from scratch nowadays (unless you’re Facebook). Never fear, from here on out, we will start moving a little bit further up the stack.
In this chapter, we’ll dive a bit deeper into cgroups: the control structures that isolate resources from one another in the kernel. In the previous ...
Get Core Kubernetes now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.