First ensure that you have curl
installed the nodes and server so you can install the packages for k3s.
First run the command below in order to create a control node, a server that all your other nodes will connect to in order to get their commands from.
curl -sfL https://get.k3s.io | sh -
Next up we need to setup the nodes. And in order to set this up we need some information. Run the commands below on the server to fetch the internal IP address of the network with the controller and nodes. We also need a security token from the server which we can fetch with cat.