3 ms·
GP asked about Service objects though. k8s natively provides name resolution, traffic routing and load balancing to your defined service objects. So what does E
by jeremyjh 8y ago
GP asked about Service objects though. k8s natively provides name resolution, traffic routing and load balancing to your defined service objects. So what does Envoy do for me that k8s does not do itself?
- gauravphoenix 8y agothings like layer 7 control, you can say - "don't allow HTTP GET on /supersecret". Also, Isito is gRPC aware
- andrewstuart2 8y agoThis brings about a major problem with centralized route management, though, in that you then must build all of your access controls around URLs rather than deeper business logic. Istio offers much more, but as far as anything but coarse-grained "this service will never need to talk to this other service" access control, I'd still much rather write the logic in the code where it has access to a lot more domain knowledge.
- gauravphoenix 8y agoif you want just simple layer 4 ACLs among the services, I recommend just using NetworkPolicies[1] of k8s. Personally, I think that Istio is overly complex but then so is k8s :) [1] https://kubernetes.io/docs/concepts/services-networking/network-policies/ https://kubernetes.io/docs/concepts/services-networking/netw...
- manigandham 8y agoMore protocol support, retries, rate-limits, circuit-breakers, traffic mirroring, better load-balancing, faster proxy performance, complex routing, fine-grained security policies with pluggable authentication, and in-depth monitoring with integrated tracing. Smaller clusters or services don't need it. The docs overview page is worth a read: https://istio.io/docs/concepts/what-is-istio/ https://istio.io/docs/concepts/what-is-istio/
- jsmeaton 8y agoThanks! I was wondering if mesh effectively replaces services and why, and you've answered that.