-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pixiu Control Plane Support Service Metadata #484
Comments
需要定义一个 proto 用于上报应用级服务发现的元数据信息和接口的服务定义信息,前者是应用级服务发现的时候消费端通过注册中心拿到 revision 之后获取全量服务信息的接口,后者是客户端上报服务元数据的信息用于记录接口的各种参数,满足运维的需要(如服务测试等)技术上本质就是一个存储的功能,提供 set 和 get 的接口就可以了,目前阶段还不需要对数据进行加工。这个 proto 可以直接绑定到 xDS 的 grpc channel 上就行。 元数据的主要涉及的接口有 服务定义的有 |
working on it |
|
|
这两类 Metadata,我觉得有必要区分开来定义,对于每一部分目前需要确认的主要内容如下:
|
这个 md5 计算过程应该是由数据面完成的,控制面可以只做存储不用关心计算方式 |
消费端每次都会主动通过revision查询metadata,不需要推送过程。 |
服务发现元数据
Proto
流程设计
Proto
注
|
目前进度遇到使用 istio build-tools 生成 CRD 相关代码时遇到 import proto 文件查找失败的问题
|
0215日周会,上面问题都已经解决掉。蔡同学还在 review 中。 |
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: