More Info:
The kubelet kubeconfig file ownership should be set to root:root so that only the root user can read or modify the kubelet credentials and cluster connection settings.Risk Level
MediumAddress
SecurityCompliance Standards
- CIS EKS
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every worker node, confirm the kubelet kubeconfig file exists:
-
On every worker node, set the ownership of the kubelet kubeconfig file to root:root:
-
On every worker node, verify the ownership is correctly set (passes when output is
root:root):
Using kubectl
Using kubectl
kubectl cannot modify file ownership on the worker node filesystem where
/etc/kubernetes/kubelet.conf resides; this must be fixed directly on every worker node via host-level commands. Refer to the Manual Steps section for the SSH-based procedure to change ownership and verify the fix.Automation
Automation

