nats-io/nats-operator

Cluster-scoped installation and NATS clusters

danieledraganti opened this issue · 0 comments

Hello everyone,
I have correctly set up the Cluster-scoped installation on my k8s cluster, and I can see the nats-operator in the nats-io namespace. I have also created two NATS clusters in two different namespaces with the following template:

apiVersion: nats.io/v1alpha2
kind: NatsCluster
metadata:
  name: nats-server
  namespace: <inserted the namespaces here>
spec:
  size: 2
  version: "1.3.0"

My micro services can talk to each other in the same namespace, but they can't seem to talk to micro services in other namespaces. Shouldn't the operator take care of handling this? How do I make the NATS clusters in different namespaces see each other?

Thanks.