Summary
In this chapter, we looked at different security-sensitive configurations for each master and node component: kube-apiserver
, kube-scheduler
, kube-controller-manager
, kubelet
, CoreDNS, and etcd
. We learned how each component can be secured. By default, components might not follow all the security best practices, so it is the responsibility of the cluster administrators to ensure that the components are secure. Finally, we looked at kube-bench
, which can be used to understand the security baseline for your running cluster.
It is important to understand these configurations and ensure that the components follow these checklists to reduce the chance of a compromise.
In the next chapter, we'll look at authentication and authorization mechanisms in Kubernetes. We briefly talked about some admission controllers in this chapter. We'll dive deep into different admission controllers and, finally, talk about how they can be leveraged to provide a finer-grained access...