Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

snap kubectl - Unable to detect snap.kubelet service #40

Open
vladaman opened this issue Sep 21, 2023 · 0 comments
Open

snap kubectl - Unable to detect snap.kubelet service #40

vladaman opened this issue Sep 21, 2023 · 0 comments

Comments

@vladaman
Copy link

We have an issue running Ubuntu 22.04.3 LTS

$> sudo snap install kubeadm --classic
 kubeadm 1.28.2 from Canonical✓ installed
$> sudo snap install kubelet --classic
 kubelet 1.28.2 from Canonical✓ installed

I get the following warning and the command doesn't continue:

$> sudo kubeadm join futro:448/k8s/clusters/local --token q196ko.xxxxx --discovery-token-ca-cert-hash sha256:xxxx --v=5


I0921 07:40:21.086934 2123505 checks.go:130] validating if the "kubelet" service is enabled and active
	[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'

Issue is kubelet service is not detected. Name of the service is snap.kubelet instead. Installing kubelet packages from .deb files tends to be more reliable compared to using snap.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant