4.1.1 Ensure that the kubelet service file permissions are set to 600 or more restrictive

Information

Ensure that the kubelet service file has permissions of 600 or more restrictive.

The kubelet service file controls various parameters that set the behavior of the kubelet service in the worker node. You should restrict its file permissions to maintain the integrity of the file. The file should be writable by only the administrators on the system.

Solution

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

chmod 600 /etc/systemd/system/kubelet.service.d/kubeadm.conf

Impact:

None

See Also

https://workbench.cisecurity.org/benchmarks/17568

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: cee8b7f8076aae7de1ec26cb4c6d91192e390c9faa7cab4ac709fafb189641ee