More Info:
Verifies that the kube-scheduler pod manifest file has permissions of 600 or more restrictive to prevent unauthorized tampering.Risk Level
MediumAddress
SecurityCompliance Standards
- CIS Kubernetes
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every control plane node, check the current permissions of the scheduler manifest file:
-
On every control plane node, set the permissions to 600 as required:
-
(Optional, on every control plane node) Confirm file ownership is appropriate (typically root:root):
-
On every control plane node, verify the permissions now meet the benchmark (600 or more restrictive, e.g., 600, 640 not allowed, 400 allowed):
Using kubectl
Using kubectl
kubectl cannot modify file permissions on control plane nodes, so it cannot be used to fix
/etc/kubernetes/manifests/kube-scheduler.yaml. This must be corrected directly on each control plane node’s filesystem; follow the guidance in the Manual Steps section.Automation
Automation

