This topic describes how to add primary and secondary nodes to a Kubernetes installer provisioned cluster in the Replicated admin console.
Overview of Adding Nodes
You can generate commands in the admin console to join additional primary and secondary nodes to a Kubernetes installer provisioned cluster. Primary nodes run services that control the cluster. Secondary nodes run services that control the pods that host the application containers. Adding nodes can help manage resources to ensure that your application runs smoothly.
For high availability clusters, Kubernetes recommends using at least 3 primary nodes, and that you use an odd number of nodes to help with leader selection if machine or zone failure occurs. For more information, see Creating Highly Available Clusters with kubeadm in the Kubernetes documentation.
Join Primary and Secondary Nodes
To add primary and secondary nodes:
(Air gap only) Download and extract the
.tar.gzbundle on the remote node before running the join command.
In the admin console, click Cluster Management > Add Node.
Copy the command and run it on the node that you are joining to the cluster.
curl -sSL https://k8s.kurl.sh/my-test-app-unstable/join.sh | sudo bash -s \