百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
K

k8s-istio-observe-backend

> 云原生
开源

基于 Go 的微服务参考平台,用于演示 Istio 的 k8s 可观测性

191 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

基于 Go 的微服务参考平台,用于演示 Istio 的 k8s 可观测性

Kubernetes-based Microservice Observability with Istio Service Mesh

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.

Frontend UI

An Angular 12 front-end UI to the API is located on Github: k8s-istio-observe-frontend.

Reference Platform Architectures

RESTful JSON over HTTP architecture:

gRPC using protobufs over HTTP/2 architecture:

Service Responses

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).

json
{
  "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"
}

Complete response from Service A

…

Optional Docker Swarm Deployment

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:

  • (1) Angular 12 frontend UI
  • (8) backend Go-based microservices
  • (1) RabbitMQ server with (1) queue
  • (1) MongoDB server with (4) databases
  • (1) Mongo Express
bash
docker network create -d overlay --attachable golang-demo

docker stack deploy -c docker_swarm/stack.yml golang-demo

View the Running Stack

…

Accessing the Docker Swarm-based Stack

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:

View of UI running on Docker


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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Goapieksgkegolang

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类云原生
定价开源

> 相关工具

K
Kubernetes
容器编排事实标准
H
Helm
Kubernetes 包管理器
S
seaweedfs
SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables,