nicholasjackson / docker-consul-envoy

Docker image with Consul and Envoy
MIT License
30 stars 24 forks source link

envoy proxy in k8s with consul agent. #2

Open daljeet-hcl opened 4 years ago

daljeet-hcl commented 4 years ago

Can I use this inside k8s cluster so that I do not have to inject envoy proxy automatically ?

nicholasjackson commented 4 years ago

You could, but the injector system for Consul does way more than just run the proxy. It has the ability to define a basic service config and obtain the correct ACL token based on the Kubernetes service account.

If you can my recommendation is to use the Consul-K8s application installed with the Helm chart.

Also sorry for the ridiculously slow reply.

daljeet-hcl commented 4 years ago

Thank you for your reply. we could make distributed tracing, traffic splitting and traffic routing work with k8s and consul.

is there any way to make consul circuit-breaker and k8s to work together, any working example ? this has become deal breaker for us, should we use istio install of consul if that functionality is still not available ?