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

eureka目前没有认证机制,如果线上需要增加认证机制,这个代码层面目前是否有办法可以做到不影响线上服务的运行,通过升级增加上认证机制呢?如果可以,可以说下升级改造流程吗? #5170

Closed
hezhaoye opened this issue Jul 2, 2024 · 7 comments
Labels

Comments

@hezhaoye
Copy link

hezhaoye commented Jul 2, 2024

eureka目前没有认证机制,如果线上需要增加认证机制,这个代码层面目前是否有办法可以做到不影响线上服务的运行,通过升级增加上认证机制呢?如果可以,可以说下升级改造流程吗?

@nobodyiam
Copy link
Member

是指 eureka 服务注册认证还是 eureka 服务发现认证?
服务注册认证是支持的:3.2.9 apollo.eureka.server.security.enabled - 配置是否开启eureka server的登录认证

@hezhaoye
Copy link
Author

hezhaoye commented Jul 4, 2024

服务注册认证是支持的:3.2.9 apollo.eureka.server.security.enabled - 配置是否开启eureka server的登录认证

是指这个注册认证。对于已有的运行服务,这个升级的流程看文档没有提到。对于已有的服务开启这个特性,升级流程上有什么要注意的吗?

@nobodyiam
Copy link
Member

可以搭建一个新的带注册认证的集群,而后把 meta server 的域名指向新的集群

@hezhaoye
Copy link
Author

hezhaoye commented Jul 7, 2024

可以搭建一个新的带注册认证的集群,而后把 meta server 的域名指向新的集群

如果不搭建全新的集群,在已有混合的config Service上有办法可以做到平滑升级到开启认证机制吗

@nobodyiam
Copy link
Member

建议在测试环境验证下,比如改了配置后一台一台重启

Copy link

stale bot commented Aug 9, 2024

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 9, 2024
Copy link

stale bot commented Aug 16, 2024

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

@stale stale bot closed this as completed Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants