How to change the Rancher 2.x Server URL

This article details how to change the server URL for the Rancher v2.x cluster.

Pre-requisites

Resolution

Single Server Installation

During this tutorial, we recommended using the rancher-single-tool for Rancher single-server installations. It isn’t required, but it makes the process much more comfortable. As a result, this guide will is based on using that tool.

HA Installation

helm get values rancher -n cattle-system
hostname: oldhostname.support.tools
rancherImageTag: v2.5.5
helm upgrade rancher-stable/rancher --name rancher --namespace cattle-system --set hostname=newhostname.support.tools --set rancherImageTag=v2.5.5
kubectl -n cattle-system  rollout status deploy/rancher
comments powered by Disqus