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

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

Description

@vladaman

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions