https://rancher.com/ logo
Title
a

ancient-army-24563

02/06/2023, 5:04 PM
Hi everyone, is there anyway to deploy rancher with public ip address as the hostname, not with FQDN
@creamy-pencil-82913 @big-hydrogen-97240
a

agreeable-oil-87482

02/06/2023, 6:15 PM
You can customise the rancher helm chart not to deploy an ingress object, so technically you could expose the rancher service via a load balancer service type
a

ancient-army-24563

02/06/2023, 6:22 PM
could you please share any article on this,
yes i agree with you. cusomizing this will not use hostname, and start using public ip directly
Set
ingress.enabled
to false
a

ancient-army-24563

02/06/2023, 6:24 PM
does it need to be set while installing rancher manager using helm?
or while adding it to repo?
a

agreeable-oil-87482

02/06/2023, 6:25 PM
While installing or you can modify the existing helm install with updated values
a

ancient-army-24563

02/06/2023, 6:26 PM
for example, like this helm install rancher rancher-latest/rancher \ --namespace cattle-system \ --set ingress.enable=false\ --set bootstrapPassword=admin
does it work
?
a

agreeable-oil-87482

02/06/2023, 6:29 PM
Like that, yes, you'll need to change the rancher service type afterwards as it's currently not customisable from the helm chart
a

ancient-army-24563

02/06/2023, 6:30 PM
can we take a quick remote if you’re okay with. im stuck with this and challenge in moving forward as its my first deploying rancher using helm
let me send zoom.
a

agreeable-oil-87482

02/06/2023, 6:30 PM
I can't atm as I'm away from my desk
a

ancient-army-24563

02/06/2023, 6:30 PM
ok,
let me know when you back for 5 mins. will do
a

agreeable-oil-87482

02/06/2023, 6:31 PM
I'd try what's already discussed, it should be straight forward
a

ancient-army-24563

02/06/2023, 6:33 PM
ok, service type needs to be load balancer?
a

agreeable-oil-87482

02/06/2023, 6:34 PM
Or nodeport, so you to access it externally
a

ancient-army-24563

02/06/2023, 6:34 PM
ok. let me try
David, I have reinstalled helm with ingres enabled value to be true and changed rancher service to Nodeport
but now i get the error 404 not found while accessing the public ip of the machine
attle-system rancher NodePort 10.43.57.69 <none> 80:30760/TCP,443:30165/TCP 2m22s
a

agreeable-oil-87482

02/06/2023, 6:39 PM
Are you connecting to the correct port?
a

ancient-army-24563

02/06/2023, 6:40 PM
yes
connecting with 30760
with http
and also https, 30165
image.png
a

agreeable-oil-87482

02/06/2023, 6:42 PM
Hmm. Will need to check next time I have access to a cluster
a

ancient-army-24563

02/06/2023, 6:43 PM
sure David.
David, UI works now
how do we find the password we provided during installation if we are not sure
for the UI
a

agreeable-oil-87482

02/06/2023, 8:39 PM
You can get values from helm