Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Managing Microservices on Kubernetes with Istio

DZone's Guide to

Managing Microservices on Kubernetes with Istio

Learn how IB and Google's Istio platform helps connect, manage, and secure microservices without developers having to change their code.

· Integration Zone
Free Resource

The Integration Zone is brought to you in partnership with Cloud Elements.  What’s below the surface of an API integration? Download The Definitive Guide to API Integrations to start building an API strategy.

Last week IBM and Google announced Istio, an open platform to connect, manage, and secure microservices. Istio improves the visibility of the data flowing between the different services and the good news for developers is that you don’t have to change your code.

There is good documentation available, but in a nutshell, Istio inserts proxies in pods which are called instead of the custom containers (services) directly. This allows Istio to control and monitor the requests to the services. As a developer, you simply use Istio to automatically add a bunch of additional containers and pods to your Kubernetes deployments without having to change your app.

The Istio website explains the concepts in more detail. As Jason McGee writes in this blog Instio’s main functionality is:

  • Automatic zone-aware load balancing and failover for HTTP/1.1, HTTP/2, gRPC, and TCP traffic.
  • Fine-grained control of traffic behavior with rich routing rules, fault tolerance, and fault injection.
  • A pluggable policy layer and configuration API supporting access controls, rate limits and quotas.
  • Automatic metrics, logs and traces for all traffic within a cluster, including cluster ingress and egress.
  • Secure service-to-service authentication with strong identity assertions between services in a cluster.

I’ve installed the BookInfo sample to try the functionality. It was very easy to set up, both on Minikube and on IBM Bluemix. I like especially the dashboard (Grafana) which visualizes metrics like request rates, success/failure rates, etc., in a cluster.

istio1

The ServiceGraph addon provides a graphical visualization of the service interaction graph for the cluster.

istio3

With the Zipkin dashboard, you can see the invocation chains of microservices.

istio2

If you want to try out Istio, follow these instructions and set up the sample.

The State of API Integration Report provides data from the Cloud Elements platform and will help all developers navigate the recent explosion of APIs and the implications of API integrations to work more efficiently in 2017 and beyond.

Topics:
containers ,integration ,istio ,kubernetes

Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}