More Info:
The kubelet configuration file should be owned by root:root. Incorrect ownership could allow non-root users to alter the kubelet configuration.Risk Level
MediumAddress
SecurityCompliance Standards
- CIS OKE
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every worker node, confirm whether the kubelet configuration file exists and check its current ownership:
-
If the file exists and is not owned by root:root, change the ownership to root:root:
-
(Optional, if you suspect permissions are too loose) Restrict file permissions to owner read/write only:
- Repeat steps 1–3 on every worker node in the cluster.
-
On every worker node, verify the ownership is now correct:
The output must be:
Using kubectl
Using kubectl
kubectl cannot change file ownership on node filesystems, including
/etc/kubernetes/kubelet-config.json. This finding must be remediated directly on every worker node’s host OS; see the Manual Steps section for the exact commands to run over SSH.Automation
Automation

