More Info:
Ensure that the scheduler.conf file ownership is set to root:root.Risk Level
LowAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every control plane node, check the current ownership of the scheduler configuration file:
-
On every control plane node, change the ownership of the file to root:root:
-
(Optional, if using strict permissions) On every control plane node, ensure permissions are not overly permissive:
-
On every control plane node, verify the ownership is now correct:
The output must be:
Using kubectl
Using kubectl
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.Automation
Automation

