<p>What I want to do is have a service in the <code>default</code> namespace and ingresses in my other namespaces, which point to that service. I tried implementing the service and Ingress shown below, but it didn't work.</p>

<pre><code>kind: Service
apiVersion: v1
metadata:
  name: serviceX
  namespace: default
spec:
  type: ExternalName
  externalName: serviceX.default.svc.cluster.local
ports:
- port: 123


kind: Ingress
apiVersion: extensions/v1beta1
metadata:
  name: web-ingress-test-vpndev
  namespace: my-namespace
spec:
  tls:
  - hosts:
    - abc.my-namespace.domain.com
    secretName: tls-secret-my-namespace
  rules:
  - http:
      paths:
      - path: "/"
        backend:
          serviceName: serviceX
          servicePort: 123
status:
  loadBalancer:
    ingress: {}
</code></pre>

<p>I know that I could implement the service in every namespace, but I was wondering if it's possible to have a single service. If I try to type the <code>externalName</code> of the service in the <code>backend-&gt;serviceName</code> handler of the ingress, I get and error saying that the name of the service can only contain numbers, letter and '-'.</p>

<p>I don't think this is possible and also don't think it's a good idea. Ingress is not a cluster level resource. Each namespace should have its own instance.</p>
