AKS Kubelet configuration file ownership should be assigned to root

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 the file ownership of the kubelet’s kubeconfig file is set to root:root. You should set its file ownership to maintain integrity.

Remediation

Run the following command to fix the kubelet configuration file’s ownership:

chown root:root /var/lib/kubelet/kubeconfig

Note: The path above is the default location in AKS.

PREVIEWING: may/unit-testing