nats-operator icon indicating copy to clipboard operation
nats-operator copied to clipboard

Cluster-scoped installation and NATS clusters

Open danieledraganti opened this issue 4 years ago • 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.

danieledraganti avatar Feb 10 '20 16:02 danieledraganti