<p>I'm  searching for the answer but i didn't find it anywhere.
Is it possible to share a service between multiple namespaces ?</p>

<p>For instance, if i have 2 namespaces (let's say 'qa' and 'dev'), is it possible to use the same database server ?
The database server would be preferably managed by kubernetes too.</p>

<p>I've read this issue : <a href="https://github.com/openshift/origin/issues/1244" rel="noreferrer">https://github.com/openshift/origin/issues/1244</a>
But it's not directly related to kubernetes.</p>

<p>Regards,
Smana</p>

<p>Services are accessible from all namespaces as long as you address them using both the name and the namespace.</p>

<p>For example, if you have a service named <code>db</code> in namespace <code>dev</code>, you can access it using the DNS name <code>db</code>. While this won't work from <code>qa</code>, you can access it from both <code>qa</code> and <code>dev</code> if you instead use the DNS name <code>db.dev</code> (<code>&lt;service&gt;.&lt;namespace&gt;</code>), in order to clarify which namespace should be searched for the service.</p>
