Feature #630 basic service mesh support for Consul#664
Feature #630 basic service mesh support for Consul#664evisong wants to merge 5 commits intogliderlabs:masterfrom
Conversation
…imply adds `"connect": { "sidecar_service": {} }` config for Consul
|
@evisong if I understand correctly, |
@vilva42 Sorry for the super-late response. Could you please elaborate on the expected format of upstream configurations? Btw, my dev environment is not available right now, please expect another late response 😢 |
|
hey @evisong Thanks for the response. We decided not to use registrator for this use case. |
This PR is trying to implement #630.
Consul ServiceMesh Support
Consul can support ServiceMesh by integrating with proxies like Envoy, the most convenient way to enable this capability is creating a Service like this:
{ "service": { "name": "web", "port": 8080, "connect": { "sidecar_service": {} } } }Then Consul will automatically generate a corresponding SidecarService with default configurations.
In Registrator, you may add the
"connect": { "sidecar_service": {} }configuration by the-service-meshflag. It's also overridable bySERVICE_MESH.Your feedbacks are appreciated.