01/02/2023, 7:43 PM
Another question. The quick start has you download and run the install script (which also downloads the rke2 binary) but then tells you to start the
. But in the Installation Methods doc and all over in the other docs, it says to run the
binary with either a config file or config flags and makes no mention of starting or enabling services. What is the recommended installation method?


01/07/2023, 9:22 PM
Please continue reading the docs. After installation you are supposed to create a configuration for every node type (all but the first node must contain the server url and the cluster token) and put it into /etc/rancher/rke2/config.yaml (or into a config.d directory at the same place). If you don't do that, you'll create a single node cluster with all default settings. After placing the config onto the node, you enable and start either rke2-server or rke2-agent service (e.g. systemctl enable --now rke2-server on a master node). Imho the documentation about how to create a config.yaml is really bad. It just explains the options, but not how to generate a yaml from it. There are pretty good video tutorials in the Rancher academy to get started.