Environment Setup
Note: Harvester and Rancher are under different subnet, can access to each other
Setup the online harvester
- Iso or vagrant ipxe install harvester on network with internet connection
- Enable vlan on
harvester-mgmt
- Create virtual machine with name
vlan1
and id:1
- Create ubuntu cloud image from URL
- Create virtual machine and assign vlan network, confirm can get ip address
Setup the online rancher
- Install rancher on network with internet connection throug docker command
$ sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:v2.6-head
- Login rancher and set access url
Test steps
- Follow steps in
01-Import existing Harvester clusters in Rancher
to import harvester - Follow steps in
22-Create RKE2 Kubernetes Cluster
to provision RKE2 cluster
Expected Results
- Can import harvester from Rancher correctly
- Can access downstream harvester cluster from Rancher dashboard
- Can provision at least one node RKE2 cluster to harvester correctly with running status
- Can explore provisioned RKE2 cluster nodes
- RKE2 cluster VM created running correctly on harvester node