openshift/openshift-ansible

No DNS used to resolve hostnames

Closed this issue · 4 comments

Description

I have no DNS server used to resolve hostnames. Can I just use IP to install OpenShift Container Platform? I don't hope the nodes use hostname to connect to each other, so how can I do with that?

Version

OpenShift 3.11

Hi @ytcisme

Previously I had installed OpenShift without using dns, and just used host file.

However, I'm unable to install OpenShift 3.11 even if I use dns or hostfiles. You can see the issues I'm facing on #11874

And as there is no OKD 4 yet, it maybe better to find an alternative to OpenShift.

Hi @ytcisme

Previously I had installed OpenShift without using dns, and just used host file.

However, I'm unable to install OpenShift 3.11 even if I use dns or hostfiles. You can see the issues I'm facing on #11874

And as there is no OKD 4 yet, it maybe better to find an alternative to OpenShift.

Hi @magick93

Thanks for your reply.

I have read your issue, it looked like that the CNI pod(openshift-sdn) was not running.

I installed OpenShift 3.11 successfully by host file, but I think it's difficult to add a new node, maybe I need to update all of the nodes' host file and restart all of the dnsmasq. So I hope the nodes use IP directly to connect to each other, not hostname.

Hello @ytcisme ,
By chance, do you know how to manage/start the openshift-sdn? Hopefully to get rid of error "Unable to update cni config: No networks found in /etc/cni/net.d"