I got cluster seems like:
[masters]
master
[workers]
worker1 worker2 worker3
I know, that I can add this nodes to inventory and make reinit my cluster.
But mb can I do that without reconfigure inventory file?
I thought that I could do it through kubectl join --token etc
,
but my output by kubectl token list
is empty
According to the official documentation:
You can replicate Kubernetes masters in
kube-up
orkube-down
scripts for Google Compute Engine. This document describes how to use kube-up/down scripts to manage highly available (HA) masters and how HA masters are implemented for use with GCE.
Also if you want to setup an HA kubernetes cluster on Bare Metal you should check out this guide.
If you need to get a better understanding of how HA clusters work overall you should read this article.
Please let me know if that helped.