More Info:
Verifies that the scheduler.conf kubeconfig file has permissions of 600 or more restrictive to protect the schedulers client credentials.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 kubeconfig file:
-
On every control plane node, set the permissions of the scheduler kubeconfig file to 600:
-
On every control plane node, verify that the permissions are now 600:
Using kubectl
Using kubectl
kubectl cannot modify file permissions on control plane nodes, including
/etc/kubernetes/scheduler.conf. This fix must be applied directly on every control plane node at the host OS level; see the Manual Steps section for the exact commands to run there.Automation
Automation

