N/A
Source
Kube Bench
ID
3.1
Version
gke-1.2.0

3.1 Worker Node Configuration Files

3.1.1 Ensure that the proxy kubeconfig file permissions are set to 644 or more restrictive (Manual)

Run the below command (based on the file location on your system) on each worker node. For example, chmod 644 $proxykubeconfig

3.1.2 Ensure that the proxy kubeconfig file ownership is set to root:root (Manual)

Run the below command (based on the file location on your system) on each worker node. For example, chown root:root $proxykubeconfig

3.1.3 Ensure that the kubelet configuration file permissions are set to 644 or more restrictive (Manual)

Run the following command (using the config file location identied in the Audit step) chmod 644 /var/lib/kubelet/config.yaml

3.1.4 Ensure that the kubelet configuration file ownership is set to root:root (Manual)

Run the following command (using the config file location identied in the Audit step) chown root:root /etc/kubernetes/kubelet.conf