Closed charles1503 closed 4 years ago
Hi @charles1503! It looks like you're trying to run Consul on Kubernetes, we actually do have a Consul for Kubernetes distribution available here: https://www.consul.io/docs/platform/k8s/run.html. I'm wondering if you were able to try it out or if that was perhaps not an option for you? Thanks!
Closing this issue for now. Please respond if you feel that this needs further inspection or due diligence.
Question
I used the Consul Cloud-auto-joining mode to build a three-node Consul cluster, and used SpringCloud microservices to register with the Consul registry.Because I used the Kuberneters Service, these microservices were decentralized and registered to three nodes. When updating the microservices, the deregistration request was loaded by the Kuberneters Service to the non-original registration node.I found Failed to deregister service: service = charles-service-10-244-5-211-8080 error = "in the log Service {"charles-service-10-244-5-211-8080" {}} does not exist ", so how should I configure so that the unregistered request is loaded to the corresponding node?
consul-cluster.yaml
Problem Desc
Solution
Is there a better way, or am I using it incorrectly?