The kubelet configuration file should be owned by root

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

Ensure that if the kubelet refers to a configuration file with the --config argument, that file is owned by root:root. The kubelet reads various parameters, including security settings, from a config file specified by the --config argument.

Remediation

  1. Run the following command based on the file located in the --config parameter:
chown root:root /etc/kubernetes/kubelet.conf