What kernel options is Google's Container Optimized OS built with?

12/15/2017

I'm having trouble finding the kernel options that Google's Container Optimized OS is built with. I tried looking at the usual locations like boot/config-* and /proc/config.gz, but didn't find anything. I searched the source code and didn't find anything either, but I'm probably just searching wrong.

The specific option I'm curious about is CONFIG_CFS_BANDWIDTH and whether it is enabled or not. Thanks!

-- Jesse Shieh
docker
google-compute-engine
kubernetes
linux-kernel

1 Answer

11/6/2019

You can get it via running zcat /proc/config.gz in a Container-optimized OS VM.

The kernel config is generated from the source here. However, note that the source kernel config are changed during the OS image building process. So they are not 100% the same.

-- Xuewei Zhang
Source: StackOverflow