Adding Nodes to Cluster
Guide to add nodes to an existing Kubernetes cluster
Last updated
Was this helpful?
Guide to add nodes to an existing Kubernetes cluster
Last updated
Was this helpful?
Below are the steps to add more nodes to the Kubernetes cluster.
From directory, use the rke2-server.conf.subsequent.template
or rke2-agent.conf.template
based on whether the new node is control plane node or worker node. Copy this file to /etc/rancher/rke2/config.yaml
in the new node.
Configure the config.yaml with relevant values.
Run the following to set the RKE2 version. Make sure this version is the same across all the nodes. (Refer to . Use rke2 --version
on an existing node to get the version.)
Run the below command to download RKE2.
Run the below commands to start RKE2 node.