The kubelet.conf 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

The kubelet.conf file ownership should be set to root:root. The kubelet.conf file is the kubeconfig file for the node, and controls various parameters that set the behavior and identity of the worker node. You should set its file ownership to maintain the integrity of the file.

Remediation

  1. Run the following command to adjust the file ownership:
    chown root:root /etc/kubernetes/kubelet.conf
    
PREVIEWING: safchain/fix-custom-agent