Skip to main content

More Info:

Ensure that the scheduler.conf file ownership is set to root:root.

Risk Level

Low

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Manual Steps

  1. On every control plane node, check the current ownership of the scheduler configuration file:
  2. On every control plane node, change the ownership of the file to root:root:
  3. (Optional, if using strict permissions) On every control plane node, ensure permissions are not overly permissive:
  4. On every control plane node, verify the ownership is now correct:
    The output must be:
kubectl cannot change file ownership on control plane nodes, including /etc/kubernetes/scheduler.conf; this must be fixed directly on each control plane host via OS-level commands. See the Manual Steps section for the exact chown command and verification steps to run over SSH.

Additional Reading: