chapter nine

9 Lab: cgroups

 

This chapter covers:

  • Creating a pod and investigating how Kubernetes utilizes cgroups to isolate and resource manage containers
  • The organization of cgroups information on a Kubernetes Node

9.1  Prerequisites

9.1.1  Running the lab

In this lab, we’ll spin up a single pod with resources and then investigate the Node running Kubernetes to see the cgroups information that’s generated.

Our first block of code creates and then displays a Pod.

9.2  Impact

9.3  Follow Ups

9.4  Summary