Re: How to use DNS hostname of OpenShift on AWS

2018-02-23 Thread Roland Lichti
Hi Joel, kubernetes is using the AWS inventory information directly as soon as it detects the AWS cloud. Until now I did not find any solution to get to nice hostnames. Instead we label the "nice name" as "host" (oc label node host=abc) and use "oc get node -L host" to get the names listed.

Re: How to use DNS hostname of OpenShift on AWS

2018-02-21 Thread Joel Pearson
Michael are you running OpenShift on AWS? https://github.com/openshift/openshift-ansible-contrib/tree/master/reference-architecture/aws-ansible is the AWS reference architecture and it does use openshift-ansible once the infrastructure is built, but it uses a dynamic inventory. It’s not an

RE: How to use DNS hostname of OpenShift on AWS

2018-02-21 Thread Feld, Michael (IMS)
Deploying with https://github.com/openshift/openshift-ansible you can define the hostnames in your inventory file. There is a sample inventory file at https://docs.openshift.org/latest/install_config/install/advanced_install.html that shows how to define the master/etcd/nodes, and those names

How to use DNS hostname of OpenShift on AWS

2018-02-21 Thread Joel Pearson
Hi, I'm trying to figure out how to use the DNS hostname when deploying OpenShift on AWS using https://github.com/openshift/openshift-ansible-contrib/tree/master/reference-architecture/aws-ansible Currently it uses private dns name, eg, ip-10-2-7-121.ap-southeast-2.compute.internal but that isn't