Redefining destination rules

We will be using a slightly different version of the bookinfo application, which has a new ratings-v2 service that calls the MongoDB service:

As a recap: When there are multiple versions of the same service, remember that we define subsets using the destination rules for specific service versions. Then, we create or modify the virtual services to use a specific subset to direct the traffic to the desired subset.

To redefine the destination rules, follow these steps:

  1. We added the following stanza after the host for the destination rules for productpage, details, ratings, and reviews:
trafficPolicy:  tls: mode: ...

Get Mastering Service Mesh now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.