Environment setup
- Install the latest rancher from docker command
$ sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:v2.6-head
- Create an one node harvester cluster
- Both harvester and rancher have internet connection
Verification Steps
- Access rancher dashboard
- Open Virtualization Management page
- Import existing harvester
- Copy the registration url
- Create image from URL (change folder date to latest)
https://cloud-images.ubuntu.com/focal/20211122/focal-server-cloudimg-amd64.img
- Access harvester dashboard
- Edit
cluster-registration-url
in settings
- Paste the registration url and save
- Back to rancher and wait for harvester imported in Rancher
Expected Results
- Harvester can be imported in rancher dashboard with
running
status
- Can access harvester in virtual machine page
- Can create harvester cloud credential
- Can load harvester cloud credential while creating harvester