Hello I'm halfway through my uni dissertation and stumped as I can't for the life of me figure out why the designated leaf nodes can't join the master node's cluster? I'm following the documentation correctly from the ubuntu tutorial on microk8s and the official microk8s documentation page here: https://microk8s.io/docs/clustering
I can issue the add node command on the master node fine, the join command I paste into one of the leaf nodes in order to join them into the cluster to become leaf nodes.. fails with error code 500 but isn't helpful. Could anyone point me in the right direction? I'm using Ubuntu server for ARM.
I am using carrier grade NAT, a 4G router with a 4G simcard inside; could this be the cause of the problem? Thanks for your time.
I had the issue of not being able to join the cluster as well. It appears to be a permissions problem. I solved the issue by using:
sudo microk8s add-node
(on the master. I know you are supposed to be able to just use microk8s add-node)sudo microk8s join \<ip address of master\>:\<port\>/\<token issued by master\>
(on the joining node. Once more you are supposed to be able to just use microk8s..., but it does not work)version is microk8s classic 120.2
This is a recently reported bug, see Microk8s issue #2016. A fix is expected soon, if not already pushed as a snap update.
I have been keeping up to date but I was under time constraints, I installed k3s instead as a solution. Thanks for getting back to me, I appreciate it! nodes successfully joined without issues