Skip to content

Files

Latest commit

 

History

History
39 lines (25 loc) · 1.31 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.31 KB

Kube Service Mesh

This project is to understand the k8s service mesh. It contains 3 Node.js microservices - Main, Service 1 and Service 2 and their Kubernetes configurations.

Main accepts traffic from the internet through ingress, whereas Service 1 and Service 2 are open to traffic from Main and Service 1, respectively.

App

The microservices are simple single file express applications and their docker images are below.

Linkerd

Linkerd is a simple and yet powerful service mesh that is native Kubernetes. The installation is simple and well documented at https://linkerd.io/2.11/getting-started.

To create and configure the microservices.

./linkerd.sh

To clean up the microservices and their configurations.

./linkerd-del.sh

Ingress

The ingress template used in this project is AWS ALB for more info. You may be required to configure your ingress accordingly to run the project.

Test mTLS

To test mTLS setup.

linkerd viz tap ns/kube-service-mesh-linkerd