Open whowutwut opened 2 years ago
@whowutwut
Are you isn't DHCP or static IPs?
My anecdotal experience is that, in the absence of explicitly setting the hostname as the FQDN, the name that appears when doing oc get nodes
is the name it uses to lookup the node in DNS. I'm guessing that it's able to find the nodes by that short name, which is why that's all that appears.
I saw in the last merge on #280 that
filetranspiler
was deprecated. This is great as I do want to move off it... so last night, I finally got around to changing my deployment to all use the kernel parameters to set the static IPs and it looks like it worked for the most part.However, it seems my cluster comes up only with short names:
On debugging, I think the difference here is that I lost the DOMAIN property that I set in
/etc/sysconfig/network-scripts/ifcfg-<int>
before i ran it throughfiletranspiler
and that added a search domain into my/etc/resolv.conf
on the CoreOS node. This is missing now...And
hostnamectl
on core@master0, and all the various hostname commands (-s -f -d) all return the short host name... When I manually modify/etc/resolv.conf
and addsearch <domain>
then the hostname commands seem to return what I'm looking for.Looking for some help in how I would get this back in.. Thanks!