More Info:
Ensure that the scheduler pod specification file ownership is set to root:rootRisk Level
MediumAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every control plane node, check current ownership of the scheduler manifest:
-
On every control plane node, set the file owner and group to root:
-
(Optional) Confirm file permissions are at least not more permissive than needed (no change required for this control, but you may review):
-
Verify the fix on every control plane node using the audit command:
The output must be:
Using kubectl
Using kubectl
kubectl cannot modify ownership of host-level files such as
/etc/kubernetes/manifests/kube-scheduler.yaml on control plane nodes. This must be fixed directly on each control plane node’s filesystem; see the Manual Steps section for the exact commands to run over SSH.Automation
Automation

