redhat-developer-demos / openshift-hybridizer

All in One Openshift Cluster Hybrid Cloud Provisioner
Apache License 2.0
13 stars 9 forks source link

How to use custom DNS with an all-in-one deployment? #30

Open elmiko opened 6 years ago

elmiko commented 6 years ago

hi,

i am working through the process of using hybridizer to deploy openshift for an upcoming lab. we would like to use a custom dns for the server and i am wondering the best way to do this?

should i create the resources manually in my cloud provider, and if so how to make sure that openshift knows about the names?

is there an option to have the generated ansible scripts know about the domain name?

thanks!

elmiko commented 6 years ago

looks like maybe i need to modify out/<cloud provider>/inventory/host_vars/<cloud provider>-openshift.yaml to set the hostname and prefix properly. is this accurate?

kameshsampath commented 6 years ago

@elmiko - right thats the only way. since it was meant for small demo deployments we did not do much of complicated settings