Harvester (harvesterhci.io) sets up a VIP for its management interface upon installation.
It is not a supported operation (at time of writing) to update this IP address. However, if you are of the more daring type, you can follow these instructions to update said address.
- Log into your Harvester instance
- Navigate to the embedded Rancher explorer by changing the URL to
/dashboard/c/local/explorer
.
For example, your Harvester instance may be athttps://192.168.23.1/dashboard/c/local/harvester
. Change that tohttps://192.168.23.1/dashboard/c/local/explorer
. - Once in the explorer, use the namespace dropdown at the top to select the
harvester-system
namespace. - On the left menu, navigate to Apps & Marketplace -> Installed Apps
- Locate
harvester
in the list of installed apps, and using the triple-dot menu on the right, click on Edit/Upgrade - Click Next on the first page of the upgrade process.
Do not change the Version dropdown or any other parameter - In the next step, edit YAML and locate your current VIP address. It is at the yaml path of
service.vip.ip
- Change this address to your desired address and click Update
- Allow the app to update and do not proceed until the Helm operation has completed.
- On the left menu, navigate to Storage -> Config Maps
- Edit the ConfigMap named
vip
and confirm that the value for the key ofip
has been changed to your desired IP. If not, change it and save. - Use the namespace dropdown at the top of the page to change from
harvester-system
tokube-system
. Remember to deselectharvester-system
or else you will see resources from both namespaces. - On the left menu, navigate to Service Discovery -> Services
- Locate and edit the service titled
ingress-expose
. - Under the ‘IP Addresses’ section, change the Load Balancer IP from the previous value to your new desired IP. Save this object.
- Use the namespace dropdown at the top of the page to change from
kube-system
toharvester-system
. Remember to deselectkube-system
or else you will see resources from both namespaces. - On the left menu, navigate to Workload -> Pods
- In this list of pods, locate all running
kube-vip
pods. Check the box next to all these pods (should be one per node in your Harvester cluster) and delete the pods.
Do not worry about doing this. The pods will re-schedule and start broadcasting your new IP.
Done! Once those pods re-deploy, your Harvester instance will now be available at the new IP.