Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create nats leaf remote connection #280

Closed
Kampe opened this issue Aug 20, 2020 · 2 comments · Fixed by #284
Closed

Create nats leaf remote connection #280

Kampe opened this issue Aug 20, 2020 · 2 comments · Fixed by #284
Assignees

Comments

@Kampe
Copy link

Kampe commented Aug 20, 2020

Hello!

Is there any documentation for how to create the remote connection to a leaf node?

In my supercluster, I'm creating the cluster with

apiVersion: nats.io/v1alpha2
kind: NatsCluster
metadata:
  labels:
    app: global-nats
  name: global-nats-cluster
spec:
  natsConfig:
    writeDeadline: 5s
    debug: true
    trace: true
  pod:
    enableConfigReload: true
    enableMetrics: true
    metricsImage: synadia/prometheus-nats-exporter
    metricsImageTag: 0.5.0
    reloaderImage: connecteverything/nats-server-config-reloader
    reloaderImagePullPolicy: IfNotPresent
    reloaderImageTag: 0.6.0
  size: 2
  version: 2.1.2
  leafnodeConfig:
    hostPort: 4224

I assume there's a way to specify the remote leaf connections in a similar way?

@wallyqs
Copy link
Member

wallyqs commented Aug 20, 2020

Hi @Kampe sorry for the inconvenience, leafnode remotes are not exposed in the config yet in the operator... #268

@Kampe
Copy link
Author

Kampe commented Sep 5, 2020

Hooray! Thanks all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants