The kubelet service file should have permissions of 600 or more restrictive

Set up the kubernetes integration.

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

The kubelet service file should have permissions of 600 or more restrictive. The kubelet service file controls various parameters that set the behavior of the kubelet service in the worker node. You should restrict its file permissions to maintain the integrity of the file. The file should be writable only by the administrators of the system.

Remediation

  1. Run the following command to adjust the file ownership:
    chmod 600 /etc/systemd/system/kubelet.service.d/10-kubeadm.conf