Working with Istio
In this section, we will work with Istio resources and policies and utilize them to improve the operation of the BookInfo application.
Let’s start with traffic management.
Traffic management
Istio traffic management is about routing traffic to your services according to the destination rules you define. Istio keeps a service registry for all your services and their endpoints. Basic traffic management allows traffic between each pair of services and does simple round-robin load balancing between each service instance. But Istio can do much more. The traffic management API of Istio consists of five resources:
- Virtual services
- Destination rules
- Gateways
- Service entries
- Sidecars
Let’s start by applying the default destination rules for BookInfo:
$ kb apply -f https://raw.githubusercontent.com/istio/istio/release-1.15/samples/bookinfo/networking/destination-rule-all.yaml
destinationrule.networking...