-
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
can't deregister service-id that contains slashes #1333
Comments
I have the same problem.The service can be removed.any idea? |
Yeah the catalog will get synced with the agent's state so that can't be used to remove it. If you registered the service via the agent API then I think it will be persisted in a json file inside the services directory of your agent's data-dir. If you delete it from there and restart the agent it should be gone (the agent will remove it from the catalog for you). |
@slackpad can confirm, removing everything from |
I'll close this since the slash issue is covered under #1096. Please let me know if you run into any other problems! |
We are using registrator and made the mistake of using a
/namespace/deploy-area/logical-name
pattern for our service ids and are trying to clean up.v1/agent/service/deregister/<service-id>
fails ifservice-id
contains slashes. (see #1096)We've tried deregistering with
v1/catalog/deregsiter
but within 2 minutes, that service re-appears in the catalog.Is there a way around this?
The text was updated successfully, but these errors were encountered: