Difference between Mixer and Pilot in Istio?

后端 未结 1 1509
一个人的身影
一个人的身影 2021-02-19 00:45

I have read the docs, but seem not able to understand differences between them. Is there any overlap? I mean I would like to draw a definite boundary between them to understand

相关标签:
1条回答
  • 2021-02-19 01:29

    The Istio Service Mesh provides the following functionalities:

    1. Routing. For example 90% of the traffic goes to the version 1 of a microservice and the remaining 10% goes to the version 2. Or some specific requests go to the version 1 and all the others to the version 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.

    0 讨论(0)
提交回复
热议问题