<p>I am deploying separate Kubernetes cluster for each lifecycle i.e. one cluster for dev and a separate cluster for production and will be using namespaces only for logical segregation of application based on there task e.g. all DB in data namespace, UI app in web namespace etc.</p>

<p>Because of this design, there is no need to have namespaces in service or pod's FQDN as each service and deployment will be unique. Can anyone please suggest how I can remove namespaces from hostname e.g. if there is a service named my-service in default namespace I would like to resolve the service from other namespace using "my-service.svc.cluster.local" instead of "my-service.default.svc.cluster.local"</p>

<p>I am running kubernetes 1.10 and using coreDNS.</p>

<p>you can't, that is not how kubernetes is designed. You can call it with just <code>my-service</code> though as long as you're in the same namespace</p>
