Difference between Mixer and Pilot in Istio? Difference between Mixer and Pilot in Istio? kubernetes kubernetes

Difference between Mixer and Pilot in Istio?


The Istio Service Mesh provides the following functionalities:

  1. Routing. For example 90% of the traffic goes to the version 1 of amicroservice and the remaining 10% goes to the version 2. Or somespecific requests go to the version 1 and all the others to theversion 2, according to some condition. And also: a) rewrite b)redirect
  2. Support for microservices development, deployment and testing: a) timeouts b) retries c) circuit breakers d) load balancing e) fault injection for testing
  3. Reporting: Logging, Distributed Tracing, Telemetry
  4. Policy enforcement
  5. Secure communication between micro services and strong identity.

Pilot is responsible for the items 1 and 2. Mixer is responsible for the items 3 and 4. Citadel (previously CA, previously Auth) is responsible for the item 5.

Envoy, the sidecar proxy, gets its routing and configuration tables from Pilot to implement the items 1 and 2. Envoy reports to Mixer about each request, to implement the item 3. Envoy asks Mixer to allow or forbid requests, to implement the item 4. Envoy gets certificates from Citadel to implement the item 5.