-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
how to update a tag value of service without impact the service and session ID in KV store? #867
Comments
@deadjoe You can just re-register the services with the updated tags. No need to deregister first. |
Could the documentation be updated to reflect this? For the Perhaps there could also be a new endpoint? Another alternative would be something along the lines of issuing a POST to Like the user in issue #155, I would like to add a |
I split my last paragraph into a new suggestion instead of trying to hijack this one. |
@armon is there a way to add tag with |
Hi all, The API documentation has been updated to reflect these changes. If you see any places where we missed it, please let us know (or open a PR!) 😄 |
Hi @sethvargo, |
I know this is possible already, via the catalog API. But it would be nice if it was easier. E.g. a CLI command or an HTTP endpoint specifically for the tags.
It's not the easiest one to use, especially if tags are to be used for ops, to change primary node etc. In these cases a simpler HTTP API or a CLI command would go a long way 😄 |
CLI commands are on the roadmap! |
two services were registered into the consul with different "tag" like "master" and "slave".
How to update these two tags without impact correspond services(these two services are also join the election via session acquiring ) and related session ID in the KV store ?
for now the way to me is to deregister them and re-register tags with the new value.But that will do great impaction to running services and their status.
Thanks,
The text was updated successfully, but these errors were encountered: