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

Do we have datacenter in spring cloud kubernetes ? #1418

Open
Dr-wgy opened this issue Aug 22, 2023 · 2 comments
Open

Do we have datacenter in spring cloud kubernetes ? #1418

Dr-wgy opened this issue Aug 22, 2023 · 2 comments

Comments

@Dr-wgy
Copy link

Dr-wgy commented Aug 22, 2023

just like consul
https://cloud.spring.io/spring-cloud-consul/reference/html/#registering-management-as-a-separate-service
image

@Dr-wgy
Copy link
Author

Dr-wgy commented Aug 22, 2023

If you have multiple k8s cluster just like multiple consul clusters, we maybe need use config
spring.cloud.kubernetes.discovery.datacenters.serviceA=k8sA
spring.cloud.kubernetes.discovery.datacenters.serviceB=k8sB

@ryanjbaxter
Copy link
Contributor

Not yet

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

3 participants