Hide Forgot
Description of problem: The `openshift.default.svc` name should resolve through cluster DNS as a CNAME `kubernetes.default.svc` to maintain backwards compatibility with OpenShift 3.x. Version-Release number of selected component (if applicable): How reproducible: From a pod using defaults for DNS policy, $ nslookup openshift.default.svc Actual results: NXDOMAIN Expected results: Server: 172.30.0.10 Address: 172.30.0.10#53 openshift.default.svc.cluster.local canonical name = kubernetes.default.svc. Additional info: This could be implemented with an ExternalName service in the `default` namespace pointing at `kubernetes.default.svc`.
Fixed by https://github.com/openshift/cluster-dns-operator/pull/84
will verify with next nightly build which contains the fix.
verified with 4.0.0-0.nightly-2019-03-23-222829 and issue has been fixed. $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.0.0-0.nightly-2019-03-23-222829 True False 19m Cluster version is 4.0.0-0.nightly-2019-03-23-222829 $ oc get svc -n default NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 172.30.0.1 <none> 443/TCP 36m openshift ExternalName <none> kubernetes.default.svc.cluster.local <none> 34m $ oc exec centos-pod -- nslookup openshift.default.svc Server: 172.30.0.10 Address: 172.30.0.10#53 openshift.default.svc.cluster.local canonical name = kubernetes.default.svc.cluster.local. Name: kubernetes.default.svc.cluster.local Address: 172.30.0.1
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758