# Kubernetes and microk8s join error: Joining failed

**URL:** <https://discuss.kubernetes.io/t/kubernetes-and-microk8s-join-error-joining-failed/21235>\
**Category:** microk8s\
**Tags:** microk8s\
**Created:** [September 9, 2022, 10:06am UTC](https://discuss.kubernetes.io/t/kubernetes-and-microk8s-join-error-joining-failed/21235 "2022-09-09T10:06:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandlersdance](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/chandlersdance/32/10793_2.png) [@chandlersdance](https://discuss.kubernetes.io/u/chandlersdance)\
**Post date:** [September 9, 2022, 10:06am UTC](https://discuss.kubernetes.io/t/kubernetes-and-microk8s-join-error-joining-failed/21235/1 "2022-09-09T10:06:43Z")

</div>

I am trying to learn microk8s. I installed 3 Ubuntu in my virtual box. I installed the microk8s on each of these virtual machines. I want machines in the form of master node and 2 worker nodes to communicate with each other. I tried to use

```auto
microk8s add-node 

```

command in first machine. And in the second machine, I tried to join this as a worker. But it does not work. I gave this error:

```auto
microk8s join 10.0.2.15:25000/<>/<> --worker

Connecting cluster at 10.0.2.15
Joining cluster failed. Could not verify the identity of 10.0.2.15. User '--skip-verify' to skip server certificate check.

```

If I tried to `microk8s join --skip-verify 10.0.2.15:25000/<>/<> --worker` I got an error which is

> Connection failed. Invalid token (500).

How could I join the node from second virtual machine? Could you help me? Thank you for your answer!

---

<div class="post-metadata">

**Author:** ![naveed](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@naveed](https://discuss.kubernetes.io/u/naveed)\
**Post date:** [September 9, 2022, 1:01pm UTC](https://discuss.kubernetes.io/t/kubernetes-and-microk8s-join-error-joining-failed/21235/2 "2022-09-09T13:01:19Z")

</div>

Have you configured the K8s with Kubeadm?
