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-api重构为bcs-api-gateway #427

Closed
DeveloperJim opened this issue Apr 13, 2020 · 0 comments
Closed

[feature]bcs-api重构为bcs-api-gateway #427

DeveloperJim opened this issue Apr 13, 2020 · 0 comments
Assignees
Labels
confirmed issue is confirmed feature new feature inner issue comes from Tencent side
Milestone

Comments

@DeveloperJim
Copy link
Collaborator

DeveloperJim commented Apr 13, 2020

feature相关背景与描述
统一整合容器服务成为独立形态,为client与SaaS提供一致的服务支持。避免功能对SaaS形态的依赖与绑定,例如管理内容强制注入,导致一致性被破坏。

当前问题

  • 不具备插件化扩展的基础与框架
  • 缺乏反向代理的转发能可配置能力,每次都需要编写模块代码
  • k8s原生转发使用复杂,两次ID转换不友好
  • cmd无法独立使用webconsole能力

解决方案描述

  • 引入开源apigateway组件kong,构建api-gateway层
  • URL转发规则规范化,转发规则需要明确差异版本支持
  • 配置化完成各模块反向代理功能,集成bcs当前服务发现能力实现转发动态化
  • 新增熔断和限流保护,开启https保护
  • 扩展鉴权插件,定向完成权限中心与自定义权限对接
  • 扩展临时token授权能力,针对bcs-client、kubectl实现cmd使用临时授权
  • bcs-client集成webconsole能力

其他可行性方案分析

  • caddyserver,是http server,当前正在升级为v2版本,稳定性待商榷
  • ambassador,构建预研不统一,需要依赖kubernetes部署,单独拆分成本较高

其他补充信息
(其他信息补充,例如截图,性能对比数据等)

@DeveloperJim DeveloperJim added the feature new feature label Apr 13, 2020
@DeveloperJim DeveloperJim added this to the 1.17.x milestone Apr 13, 2020
@DeveloperJim DeveloperJim self-assigned this Apr 13, 2020
@DeveloperJim DeveloperJim added confirmed issue is confirmed inner issue comes from Tencent side k8s labels Apr 18, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim pushed a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 29, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 30, 2020
DeveloperJim added a commit to DeveloperJim/bk-bcs that referenced this issue Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed issue is confirmed feature new feature inner issue comes from Tencent side
Projects
None yet
Development

No branches or pull requests

1 participant