CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Security Specialist

Minimizing the Host OS Footprint

A Kubernetes node is a Linux box, and most of what makes it dangerous was installed before Kubernetes was. This guide measures the footprint four ways - what is listening, what is running, what is installed and what the kernel will still do - and gives you the numbers to argue with.

System Hardening Guide 14 of 40 Intermediate

Measured on a worker node, because a control plane has a larger and more justifiable surface. Every command here is read-only.

The cka7001 cluster: one control plane and 1 schedulable worker, on Cilium.
Server NameIP AddressOSRolesCPURAMHDD
CKA7001192.168.0.51Ubuntu 26.04 LTSControl Plane Node (tainted NoSchedule)2 Core4 GB50 GB
CKA7001-NODE01192.168.0.52Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

This guide includes

Use this when the node itself is in scope. This matters because a Kubernetes node is a Linux box, and most of what makes it dangerous was installed by the distribution rather than by you.

Before you start

  1. What this node is listening on

  2. What is running that nothing needs

  3. The kernel surface underneath

Official sources