nats-io / nats-streaming-operator

NATS Streaming Operator
Apache License 2.0
174 stars 44 forks source link

Run on different namespace #3

Closed Shadowfaxenator closed 5 years ago

Shadowfaxenator commented 6 years ago

Is it ok to ask operator to run NATS and STUN on a different namespace than operator runs on?

wallyqs commented 6 years ago

STAN/NATS Streaming servers will be created on the same namespace as the NATS Streaming operator, but should be possible to connect to a NATS service running on a different namespace via the natsSvc option.

shaxbee commented 6 years ago

It would be beneficial if operator could pick up stan resources outside its namespace.

wallyqs commented 5 years ago

Possible for the nats and nats-streaming servers services to be on different namespaces, just have to specify where the service for nats is located. For example if running nats-streaming in the default namespace but the nats service is on the nats-io namespace, then in the manifest have to point to the name of the service and the namespace:

natsSvc: "example-nats.nats-io"