Streamline microservice management with Istio

By: Burr Sutter and Christian Posta

Updated: 4/17/2019

Istio is the implementation of a service mesh that improves application resilience as you connect, manage, and secure microservices. In the course of reading this second edition, you will focus on several key microservices capabilities that Istio provides on Kubernetes and OpenShift.

This book explains how to:

  • Build more dependable software and deliver it faster than before.

  • Create powerful and resilient cloud native applications.

  • Improve traffic control, service resiliency, testing, observability, and the security of microservices.

 

 
Introducing Istio Service Mesh for Microservices

Access Istio Service Mesh now

 

 

Building and deploying the service "customer"

Now, let’s build and deploy the customer service. Make sure you’re logged in to Minishift, which you installed earlier in the section “Istio Installation” on page 11. You can verify your status by using the following command:


    oc status
    oc whoami

Also make sure your docker tool is pointing at the Minishift Docker daemon:


    eval $(minishift docker-env)
    dockerimages

You should see a long list of docker images for both Istio and OpenShift that are already part of your local docker daemon’s repository.

Navigate to the customer directory and build the source just as you would any Maven Java project:


    cd customer/java/springboot
    mvn cleanpackage

Access Istio Service Mesh now

 

 
Data plane versus control plane
before istio
with Envoy sidecar (istio-proxy)