- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security

Strengthen Cluster Security with a CIS Kubernetes Benchmark
The CIS Kubernetes Benchmark is a useful tool for detcting potential security weakness in the configuration of your cluster. This lab will allow you to practice running the benchmark and addressing security concerns that it uncovers.

Lab Info
Table of Contents
-
Challenge
Run kube-bench and Obtain a CIS Benchmark Report
- Run kube-bench for both the control plane and the worker.
- Save the control plane results to
/home/cloud_user/kube-bench-control.log
. - Save the worker results to
/home/cloud_user/kube-bench-worker.log
.
-
Challenge
Turn Off Profiling for the API Server, Controller Manager, and Scheduler
Make changes to the cluster configuration to fix the following failed tests in the CIS Benchmark output for the control plane.
- 1.2.17
- 1.3.2
- 1.4.1
-
Challenge
Set kubelet authn/authz to Use Webhook Mode
Make changes to the cluster configuration to fix test
4.2.2
in the CIS Benchmark output for the worker.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.