mglantz / ocp37-azure-simple

Stable and simpler install of OCP 3.7 on Azure. New version at: https://github.com/mglantz/ocp39-azure-simple
5 stars 2 forks source link

Support for customer master hostname #4

Open tahonen opened 6 years ago

tahonen commented 6 years ago

I would like to have a choice to add custom master hostname. Maybe some externally hosted DNS name etc.

Now master FDQN is something.location.cloudapp.azure.com and there is already support for custom apps hostname

mglantz commented 6 years ago

There is support to run a custom infra/apps domain, so should be doable to add that. Feel free to send a pull request ;) Otherwise I'll look at it ASAP :)

To use a custom domain for the apps domain:

Edit below variables in deploy.cfg:

FROM: DOMAINTYPE=xipio

TO: DOMAINTYPE=custom

AND

CUSTOMDOMAIN=yourdomain.com

tahonen commented 6 years ago

Problem is that there should be internal and external LB for masters and internal works out-of-the-box and external may need some tuning....modify A record to match new IP. Internal one needs to be working so that installation can finish.