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

uniform nacos config gray model #12371

Open
shiyiyue1102 opened this issue Jul 18, 2024 · 0 comments
Open

uniform nacos config gray model #12371

shiyiyue1102 opened this issue Jul 18, 2024 · 0 comments

Comments

@shiyiyue1102
Copy link
Collaborator

shiyiyue1102 commented Jul 18, 2024

nacos supports beta publish with client ip currently,and support tag publish for a single fixed tag Vip-Server-Tag in source code,but without a open function.

Describe the solution you'd like
create a new model config-info-gray to uniform gray publish models with high scalability to adapt to different scenarios which is related to the deploy enviroment.

Describe alternatives you've considered
1.create new table config-info-gray with grayName and grayRule
grayName defines gray publish type like beta ,tag ,other type that user can self define
grayRule define a json struct with proprity, version,expr relateted to grayName.
2.create GrayRuleManager to manager all GrayRule models , GrayRule has two key methods, parse(String expr),match(Map<String,String> labels)

3.create BetaGrayRule(grayName=beta,expr =ips,ip2,ip3) and TagGrayRule(grayName=tag,expr="tagValue") to match orignal beta and tag match.

4.Create a task to imgrate config-info-beta and config-info-tag to config-info-gray.

@shiyiyue1102 shiyiyue1102 changed the title nacos uniform nacos config gray model Jul 18, 2024
This was referenced Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants