Skip to main content

More Info:

The kubelet configuration file ownership should be set to root:root so that only the root user can read or modify the kubelets runtime configuration.

Risk Level

Medium

Address

Security

Compliance Standards

  • CIS EKS

Triage and Remediation

Remediation

Manual Steps

  1. On every worker node, verify the kubelet config file exists and show current ownership:
  2. On every worker node, change ownership of the kubelet configuration file to root:root:
  3. (Optional) Confirm file permissions are still appropriate (readable only by root or as per your policy):
  4. On every worker node, verify the ownership is now set correctly (remediation validation):
kubectl cannot change file ownership on cluster nodes; this finding must be fixed directly on every worker node’s filesystem (host-level access to /var/lib/kubelet/config.yaml is required). Refer to the Manual Steps section for the exact commands to run over SSH on each node.