Repository navigation
|
We have NATS deployed on Kubernetes. After deployment or rolling restart, or if one of pods gets restarted, last node (youngest) to start gets least number of client connections and it stays like that for very long time (our services tend to keep connections open for their lifetime). Is there a way to somehow configure NATS server to automatically ask clients to rebalance? I found #343, but there doesn't seem to be any resolution. Asked Claude and it offered two ways, both are not "nice":
Is there a way to configure NATS so that it automatically distribute client connections? |
Answered by
ripienaar
Oct 8, 2026
Replies: 1 comment 6 replies
|
The |
6 replies
Answer selected by
mr-git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
natscli hasnats server cluster balancefor this