Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.89 KB

File metadata and controls

51 lines (30 loc) · 1.89 KB

Network Resiliency

This module will cover the network resiliency capabilities of Istio service-mesh on Amazon EKS.

Prerequisites:

  1. Module 1 - Getting Started
  2. Install istioctl and add it to the $PATH

Note: This module will build on the application resources deployed in Module 1 - Getting Started. That means you don't have to execute the Destroy section in Module 1.

Initial state setup

In this step we add the Istio mesh resources to wrap the frontend, productcatalog and catalogdetail services.

A DestinationRule is created for catalogdetail to select subsets based on the version label of the destination pods. However, the initial VirtualService definition does not specify any subset configuration thereby leading to a uniform traffic spread across both subsets.

# This assumes that you are currently in "istio-on-eks/modules/01-getting-started" folder
cd ../03-network-resiliency

# Install the mesh resources
kubectl apply -f ../00-setup-mesh-resources/

Output should be similar to:

destinationrule.networking.istio.io/catalogdetail created
virtualservice.networking.istio.io/catalogdetail created
virtualservice.networking.istio.io/frontend created
virtualservice.networking.istio.io/productcatalog created

🧱 Sub Modules of Network Resiliency