# Rancher deployment overview

## Prerequisites

* IP address for LoadBalancer must be from the same subnet as Harvester node IP, i.e. 172.27.27.0/24 for teh LB in current implementation to work. 
* Due to environment firewall restrictions _https://get.rke.io_ install source doe not work. All these instances must be replaced with alternative _install.sh_ download location _https://raw.githubusercontent.com/rancher/rke2/refs/heads/master/install.sh_.  



## Helm chart deployment

An example Helm chart in the following [folder](./helm/rke2).
Two value files are prepared for DHCP and static IP allocation: 
* [rancher_values_dhcp.yaml](./helm/rancher_values_dhcp.yaml)
* [rancher_values_static.yaml](./helm/rancher_values_static.yaml)


## Fleet bundle deployment

2 Fleet bundles were prepared based upon Helm chart:
* [mgmt-dhcp.yaml](./deploy/fleet/mgmt-dhcp.yaml)
* [mgmt-static.yaml](./deploy/fleet/mgmt-static.yaml)

## CAPI based deployment

**Notes:** 
* Not updated to R&D environment and tested yet!
* There is some compatibility issues with vcluster v0.30 version and Harvester.

Harvester add-on based [deployment](./capi/addon.yaml).
Helm CRD based [deployment](./capi/helmchart.yaml). 
