Istio 101 : Basic loadbalancing



To specify a loadbalancing policy for our service "service1", ROUND_ROBIN in our case, we use an istio resource called destinationRule.

The destinationRule will specify how client applications can use a specific service, in our case - service1.ns1.svc.cluster.local -.
The - ns1 - part refers to our namespace.

The following diagram represents a simple service and its endpoints:


Below is the destination rule for the service "service1":


We create our destination rule using the following:


A service in istio represents a group of endpoints/IPs on which applications/workloads are running.

Comments

Leave as a comment:

Archive