Skip to main content

More Info:

Verifies that the scheduler.conf kubeconfig file has permissions of 600 or more restrictive to protect the schedulers client credentials.

Risk Level

Medium

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Manual Steps

  1. On every control plane node, check the current permissions of the scheduler kubeconfig file:
  2. On every control plane node, set the permissions of the scheduler kubeconfig file to 600:
  3. On every control plane node, verify that the permissions are now 600:
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.