Skip to content
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

Code test and review for Kubernetes mode. #279

Open
chickenlj opened this issue May 9, 2024 · 6 comments
Open

Code test and review for Kubernetes mode. #279

chickenlj opened this issue May 9, 2024 · 6 comments
Labels
control-plane control plane related go Pull requests that update Go code

Comments

@chickenlj
Copy link
Contributor

chickenlj commented May 9, 2024

image

@chickenlj
Copy link
Contributor Author

chickenlj commented May 9, 2024

以下技术细节要找机会详细的讲一遍(包含 crd/webhook 的基本含义):

  1. 定义一个全新 crd 的完整开发流程,现场代码演示一遍(录像备用)
  2. 开发和测试 webhook 的完整流程,现场代码演示一遍(录像备用)
  3. xds server 的具体工作流程,现场代码演示一遍(录像备用)

@chickenlj
Copy link
Contributor Author

webhook 需求:

  • 当前已经实现的 webhooks 是哪些?
  • 注入 metadata server 地址
  • 注入 mapping server 地址
  • 注入 dubbo-cp 地址作为注册中心配置
  • 未来:注入安全 CA 证书等

@chickenlj
Copy link
Contributor Author

预定义的 Annotations,体现在哪些地方使用:

  • dubbo.io/service

@chickenlj
Copy link
Contributor Author

PodReconciler、Xds Server 等相关的工作

@mfordjody mfordjody added control-plane control plane related go Pull requests that update Go code labels May 9, 2024
@chickenlj
Copy link
Contributor Author

完善后的图:“实际上当前要完整的测试运行还需要依赖这个注册的过程,可能还需要一位同学把这一部分的工作做一下。或者在测试的时候,edit一下dataplane资源,把appName强行放进去”

image

@yin1999
Copy link
Contributor

yin1999 commented May 15, 2024

主要 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:自定义标签

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
control-plane control plane related go Pull requests that update Go code
Projects
None yet
Development

No branches or pull requests

3 participants