Go-based microservices reference platform for demo of k8s observability with Istio
Go-based microservices reference platform for demo of k8s observability with Istio
Source code for the two-part blog post, Kubernetes-based Microservice Observability with Istio Service Mesh. Also, for the post, Observing gRPC-based Microservices on Amazon EKS running Istio . See these posts for detailed instructions.
An Angular 12 front-end UI to the API is located on Github: k8s-istio-observe-frontend.
RESTful JSON over HTTP architecture:
gRPC using protobufs over HTTP/2 architecture:
On the reference platform, each upstream service responds to requests from downstream services by returning a small informational JSON payload (termed a greeting in the source code).
{
"id": "01596496-c6f3-442e-8fa0-26c09783fac6",
"service": "Service A",
"message": "Howdy, from Service A!",
"created": "2021-07-03 13:24:16.43337955 +0000 UTC",
"hostname": "service-a-5648545d66-ddq28"
}…In addition to Kubernetes, you can deploy the reference platform to Docker Swarm. Create Docker overlay network, and deploy Docker Swarm, locally, consisting of (12) containers:
docker network create -d overlay --attachable golang-demo
docker stack deploy -c docker_swarm/stack.yml golang-demo…To start, call the Angular 12 Frontend UI:
The backend API's URL will be:
Alternately, call Service A, the system's edge service, directly:
To observe the queue traffic, use the RabbitMQ Management Console:
To observe the databases, use Mongo Express:
The contents of this repository represent my viewpoints and not of my past or current employers, including Amazon Web Services (AWS). All third-party libraries, modules, plugins, and SDKs are the property of their respective owners.
No open issues yet, or sync has not completed.