-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Is it able to use discovery without registering itself? #3675
Is it able to use discovery without registering itself? #3675
Comments
You can try |
Cool. Hope it documented in wiki. |
It's documented, but it doesn't look like the documentation has been updated, so we'll update this configuration item later! |
This issue has been open 30 days with no activity. This will be closed in 7 days. |
This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community. |
Which Component
Nacos Discovery
Describe what problem you have encountered
Scenario: I start a local instance for development. It needs to call dev deployments, but it shouldn't be called by dev deployments.
Describe what information you have read
There is no option to disable auto registering according to the doc.
I tried marking the instance offline on nacos web. It worked, while it turned online every time I restart the instance. It's annoyed to click the offline button every time I restart the instance.
I tried setting
-Dspring.cloud.nacos.discovery.weight=0
. It worked, while it is not documented. I'm afraid this will not function some day.So what's the formal way to do this?
The text was updated successfully, but these errors were encountered: