This message was deleted.
# general
a
This message was deleted.
s
Hey @agreeable-oil-87482 thanks for this link, but i am already aware of it. Im seeking for another option installing the rancher-server without docker that also bases on rke2, but still support a single-node setup. Afaik using k3s is possble for a single-node setup, right? Docs https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-cluster-setup/k3s-for-rancher Analogically to this, does a rke2 single-setup alos exist?
a
Yeah just fire up a single node rke2 cluster and install Rancher through Helm
s
Thanks for the tip! Im looking for some resources firing up a cluster based on rke2. Just found this so far https://docs.rke2.io/install/methods But how to create a cluster based on it?
a
Run the script - it'll turn a node into an rke2 cluster
s
AAAAH
@agreeable-oil-87482 Probably, I don't get it fully... I ran the command accordingly to docs
Copy code
curl -sfL <https://get.rke2.io> | sh -
Then tried to access the cluster as documented here --> https://docs.rke2.io/cluster_access It seems there is no file "/etc/rancher/rke2/rke2.yaml". There is also no directory "/etc/rancher" Do I miss a step?
a
Copy code
curl -sfL <https://get.rke2.io|https://get.rke2.io> | sh -
systemctl enable rke2-server.service
systemctl start rke2-server.service
# Wait a bit
export KUBECONFIG=/etc/rancher/rke2/rke2.yaml PATH=$PATH:/var/lib/rancher/rke2/bin
kubectl get nodes
s
Thanks mate!
👍 1