Skip to main content

More Info:

Ensure that the admin.conf file has permissions of 600.

Risk Level

High

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Manual Steps

  1. On every control plane node, check the current permissions of the file:
  2. If the file exists and permissions are more permissive than 600, restrict them:
  3. (Optional) Ensure ownership is correct (root:root is typical):
  4. Verify the permissions have been correctly applied:
    The output should be:
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.

Additional Reading: