Skip to content

Automatic (via scripts) install, deploy and apply a mTLS OpenShift Service Mesh to a microservices-based Cloud Native application. Observe the near real-time encrypted traffic flowing biderectionally within the Mesh via Grafana dashboard and the Mesh topology and configuration via Kiali dashboard.

Notifications You must be signed in to change notification settings

gamagnolo/openshift-4-service-mesh-mtls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPENSHIFT 4 mTLS SERVICE MESH

Automatically (via scripts) install, deploy and apply a STRICT mTLS OpenShift Service Mesh to a microservices-based Cloud Native application (https://istio.io/latest/docs/examples/bookinfo). Observe the near real-time encrypted traffic flowing bidirectionally within the Mesh via Grafana dashboard and the Mesh topology/configuration via Kiali dashboard.

Microservices traffic without Mesh

Microservices topology and traffic of the bookinfo application

Environment

OpenShift 4.x

Prerequisites

OpenShift 4.x with Operators ElasticSearch, Jaeger, Kiali, Service Mesh installed

Goals

Apply a STRICT mTLS Service Mesh to a microservices-based Cloud Native application

Microservices traffic within Mesh

Microservices topology and traffic after applying the strict mTLS Service Mesh

Steps

  1. Ensure OCP 4.x cluster is up and running and Prerequisites are met

  2. Launch the automation_script.sh with the following parameters:

./automation_script.sh $1 $2 $3 $4 $5

$1 = < OCP CLUSTER MASTER API >
$2 = < OCP ADMIN USER >
$3 = < OCP ADMIN PWD >
$4 = < NAME OF THE NAMESPACE THAT WILL CONTAIN THE APPS ON WHICH TO APPLY THE MESH >
$5 = < NAME OF THE NAMESPACE WHERE THE SERVICE MESH CONTROL PLANE WILL BE INSTALLED >

  1. Verify through Kiali dashboard the correct deployment of the Service Mesh

  2. Verify through Grafana dashboard that traffic between microservices is encrypted by mTLS mode (padlock icon)

----------------- WORK IN PROGRESS --------------------------------------------------------------------------------
Automation and abstraction via parametrization/scripts (certificates, appliance to own microservices/apps, etc etc).
GOAL: automate the creation and the appliance of a mTLS Service Mesh to your own desired microservices/apps
----------------- WORK IN PROGRESS --------------------------------------------------------------------------------

About

Automatic (via scripts) install, deploy and apply a mTLS OpenShift Service Mesh to a microservices-based Cloud Native application. Observe the near real-time encrypted traffic flowing biderectionally within the Mesh via Grafana dashboard and the Mesh topology and configuration via Kiali dashboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages