Hello all, Have been learning about consul service mesh for a few weeks.
My architecture is as follows, I have 3 service’s running and 3 consul servers and 3 consul clients which house proxy running in them.
When I ran docker compose up file for my project, I have my consul mesh running and my services running.
I had a health check failing that indicated that client was unable to connect to proxy, To solve this issue wrote a script to run 2 commands :
- consul agent
- consul connect proxy -sidecar-for <service_name>
Is this the way it’s done in production? Or are there other way’s to solve this solution.