Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

182
Visualizações
microk8s join node has no effect

I did command om master node

microk8s add-node
From the node you wish to join to this cluster, run the following:
microk8s join 192.168.0.xxx:25000/token

If the node you are adding is not reachable through the default interface you can use one of the following:
 microk8s join 192.168.0.yyy:25000/token
 microk8s join 192.168.0.xxx:25000/token
 microk8s join 172.17.0.1:25000/token

and on another machine i did

microk8s join 192.168.0.xxx:25000/token
Contacting cluster at 192.168.0.xxx
Waiting for this node to finish joining the cluster. .. .. .. .. .. .. .. .. .. ..

it ended without messages but on master node command output microk8s.kubectl get no doesn'show this node only default node

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

Solution may be as @Sultan Zhumatayev said downgrading microk8s to 1.18 and node will join and appear in node list.

However firstly to check where problem lies you can execute commands: $ microk8s status and $ microk8s inspect for a deeper inspection

Another possible solutions:

1. If you turn on firewall (ufw), consider allowing all node ips like: ufw allow from xxx.xxx.xxx.xxx (repeat for all nodes including the current node). If your instances instances having both an internal and public network, they could try talking to the wrong ones. After taking away the external interfaces, it will work properly. Take a look: microk8s-join-stuck.

2. Try to disconnect the node from the cluster. Run on the node the following command:

$ sudo microk8s leave

Then you can try to connect it again, by running add-node on the master:

$ sudo microk8s add-node

and then the respective command on the node again:

$ sudo microk8s join

Read more: microk8s-join.

See also: microk8s.

over 4 years ago · Santiago Trujillo Relatório

0

I was also having some trouble listing the microk8s nodes and what worked for me was giving an unique hostname of each of the pies in the /etc/hostname file (the default hostname in all the pies after installation was ubuntu). After I rebooted each of the nodes, they showed up with the microk8s kubectl get no on the master node.

It seems that microk8s uses the hostname as an identifier for a the nodes, or at list the kubectl get node, instead of their ip, which in my case, I would prefer. At least in my case I'm using statics ips in my local network.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda