As part of Rancher 2.5, we are excited to introduce a new, simpler way to install Rancher called RancherD.
RancherD is a single binary you can launch on a host to bring up a Kubernetes cluster bundled with a deployment of Rancher itself.
This means you just have one thing to manage: RancherD. Configuration and upgrading are no longer two-step processes where you first have to deal with the underlying Kubernetes cluster and then deal with the Rancher deployment.
Note: This feature is still in preview as we gather feedback about its usability and address bugs found by the community. It’s not quite ready for production use.
Getting Started with RancherD
Let’s take a look at how you can get started with RancherD.
First, run the installer:
curl-sfLhttps://get.rancher.io|sh-
This will download RancherD and install it as a systemd unit on your host.
If that systemd note caught your eye: yes, at this time, only OSes that leverage systemd are supported.
Once installed, the rancherd binary will be on your path. You can check out its help text like this:
We’re almost ready to jump into the Rancher UI, but first you need to set the initial Rancher password. Once the rancher pod is up and running, run the following:
rancherdreset-admin
This will give you the URL, username and password needed to log into Rancher. Follow that URL, plug in the credentials, and you’re up and running with Rancher!
Vagrant Test
If you want to build with virtualbox and vagrant, check below files: