I'm trying to install the kubernetes on a centos host. While following the official kubernetes docs for the installation process. After i try to execute the command systemctl enable --now kubelet terminal is giving the below output.
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===
Authentication is required to manage system service or unit files.
Authenticating as: root
Password:
When i try the same command with sudo, its giving me the below error.
Failed to execute operation: No such file or directoryCould someone please help me to fix this? Official link is below.
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/