This lab provides practice scenarios to help prepare you for the Certified Kubernetes Security Specialist (CKS) exam. You will be presented with tasks to complete, as well as server(s) and/or an existing Kubernetes cluster to complete them in. You will need to use your knowledge of Kubernetes to successfully complete the provided tasks, much like you would on the real CKS exam. Good luck!
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Fix CIS Benchmark Issues Detected for kubelet
Fix the following CIS Benchmark issues with the kubelet on the control plane server:
- Make sure
--anonymous-auth
is not set totrue
. - Use
Webhook
mode for authn/authz.
- Make sure
- Fix CIS Benchmark Issues Detected for kube-apiserver
Fix the following CIS Benchmark issues with kube-apiserver:
- Make sure the
--profiling=false
flag is set. - Ensure authorization mode does not include
AlwaysAllow
. - Make sure authorization mode includes
Node
andRBAC
.
- Make sure the
- Fix CIS Benchmark Issues Detected for etcd
Fix the following CIS benchmark issues with etcd:
- Make sure
client-cert-auth
is set totrue
.
- Make sure