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

[feature] bcs-ingress-controller 产品化 HTTP API 建设 #1934

Open
penglongli opened this issue Nov 16, 2022 · 1 comment
Open

[feature] bcs-ingress-controller 产品化 HTTP API 建设 #1934

penglongli opened this issue Nov 16, 2022 · 1 comment
Assignees
Labels
feature new feature

Comments

@penglongli
Copy link
Collaborator

背景

bcs-ingress-controller 需要有通用的 http 接口输出,输出如下几个对象:

  • Ingress
  • PortPoool
  • Portbinding
  • Listener

详细设计

通过在 main 函数中创建一个 http.server,暴露出对应的接口,如:

  • /api/v1/ingress 列表
  • /api/v1/portpool 列表
  • /api/v1/portbinding 列表,根据 portpool 筛选
  • /api/v1/listener 列表,根据 ingress/portpool 筛选
@yaoxinwang-git
Copy link
Contributor

一个 PortPool 有多个 Item,每个 Item 有多个 LB_ID。每个 Item 是一个端口段,那么它有多个 Listener。
Listener 是由 LB_ID TCP/UDP 端口号 组成的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature
Projects
None yet
Development

No branches or pull requests

3 participants