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

[Request] 动态注册模式自定义 Label #328

Open
490shigure opened this issue Jun 29, 2024 · 0 comments
Open

[Request] 动态注册模式自定义 Label #328

490shigure opened this issue Jun 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@490shigure
Copy link

🥰 需求描述

看到 hosts 配置可以自定义标签,例如 labels = "os=centos;ndd=2022/11/25;spec=2C/4G/60G;"
希望动态注册模式能支持客户端自定义 label 并上报到服务端,因为 label 里的参数都是跟客户端相关的,在配置客户端的时候顺便填写这些配置会比较方便。

🧐 解决方案

可以像目前客户端配置 location 那样配置,例如 --labels "os=centos;ndd=2022/11/25;spec=2C/4G/60G;"

📝 补充信息

因为 label 里的参数都是跟客户端相关的,在配置客户端的时候顺便填写这些配置会比较方便。

@490shigure 490shigure added the enhancement New feature or request label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant