Open chickenlj opened 4 months ago
以下技术细节要找机会详细的讲一遍(包含 crd/webhook 的基本含义):
webhook 需求:
预定义的 Annotations,体现在哪些地方使用:
PodReconciler、Xds Server 等相关的工作
完善后的图:“实际上当前要完整的测试运行还需要依赖这个注册的过程,可能还需要一位同学把这一部分的工作做一下。或者在测试的时候,edit一下dataplane资源,把appName强行放进去”
主要 Annotation 列表:
dubbo.io/service
:服务名称(根据 Inbound/Outbound 关联的服务的名称所自动生成)dubbo.io/mesh
:服务网格名称dubbo.io/protocol
:服务协议(根据 service 资源中标识的 protocol
等自动生成),用于 xDS 的 filter 配置。dubbo.io/instance
:实例名称(headless 服务名称)dubbo.io/xds-enable
:标识是否启用 xDS 协议dubbo.io/tags
:自定义标签