Skip to main content

More Info:

Ensure that if the kubelet refers to a configuration file with the —config argument, that file is owned by root:root.

Risk Level

Low

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Using Console

Automated AAC auditing has been modified to allow CIS-CAT to input a variable for the <PATH>/<FILENAME> of the kubelet config yaml file. Please set $kubelet_config_yaml=<PATH> based on the file location on your system for example: export kubelet_config_yaml=/var/lib/kubelet/config.yaml To perform the audit manually: Run the below command (based on the file location on your system) on each worker node. For example, stat -c %U:%G /var/lib/kubelet/config.yaml Verify that the ownership is set to root:root

Additional Reading: