More Info:
Ensure that the admin.conf file has permissions of 600.Risk Level
HighAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every control plane node, check the current permissions of the file:
-
If the file exists and permissions are more permissive than 600, restrict them:
-
(Optional) Ensure ownership is correct (root:root is typical):
-
Verify the permissions have been correctly applied:
The output should be:
Using kubectl
Using kubectl
kubectl cannot modify host-level file permissions such as
/etc/kubernetes/admin.conf on control plane nodes. File mode changes must be made directly on each control plane node over SSH; see the Manual Steps section for the exact commands to run there.Automation
Automation

