Enable Customer-Managed Encryption Keys (CMEK) for GKE Persistent Disks (PD) Details Use Customer-Managed Encryption Keys (CMEK) to encrypt node boot and dynamically-provisioned attached Google Compute Engine Persistent Disks (PDs) using...
Ensure that the –anonymous-auth argument is set to false Details Disable anonymous requests to the Kubelet server. Rationale: When enabled, requests that are not rejected by other configured authentication...
Ensure that the –authorization-mode argument is not set to AlwaysAllow Details Do not allow all requests. Enable explicit authorization. Rationale: Kubelets, by default, allow all authenticated requests (even anonymous ones)...
Ensure that the –client-ca-file argument is set as appropriate Details Enable Kubelet authentication using certificates. Rationale: The connections from the apiserver to the kubelet are used for fetching logs...
Ensure that the –hostname-override argument is not set Details Do not override node hostnames. Rationale: Overriding hostnames could potentially break TLS setup between the kubelet and the apiserver....
Ensure that the kubelet configuration file has permissions set to 644 or more restrictive Details Ensure that if the kubelet refers to a configuration file with the –config argument, that file has permissions of...
Ensure that the kubelet configuration file ownership is set to root:root Details Ensure that if the kubelet refers to a configuration file with the –config argument, that file is owned by...
Ensure that the –make-iptables-util-chains argument is set to true Details Allow Kubelet to manage iptables. Rationale: Kubelets can automatically manage the required changes to iptables based on how you...
Ensure that the –protect-kernel-defaults argument is set to true Details Protect tuned kernel parameters from overriding kubelet default kernel parameter values. Rationale: Kernel parameters are usually tuned and hardened...
Ensure that the proxy kubeconfig file ownership is set to root:root Details If kube-proxy is running, ensure that the file ownership of its kubeconfig file is set to root:root. Rationale: The...