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]webhook-server多DB授权 #654

Closed
AlexAi27 opened this issue Nov 10, 2020 · 0 comments
Closed

[feature]webhook-server多DB授权 #654

AlexAi27 opened this issue Nov 10, 2020 · 0 comments
Assignees
Labels
confirmed issue is confirmed feature new feature inner issue comes from Tencent side
Milestone

Comments

@AlexAi27
Copy link
Collaborator

feature相关背景与描述
目前webhook-server对于多个DB进行授权的处理机制为:针对每一个待授权的DB向pod内注入对应DB的init授权容器。多DB时无法并行授权,容器启动与销毁的开销被放大,pod启动时间过长

解决方案描述

  • 将多个DB授权信息打包为一个json字符串,由环境变量传入一个DB授权容器进行并行处理
  • 加入API失败重试机制,避免DB授权接口的不稳定因素而导致容器退出
@AlexAi27 AlexAi27 added the feature new feature label Nov 10, 2020
@AlexAi27 AlexAi27 mentioned this issue Nov 10, 2020
@DeveloperJim DeveloperJim added this to the 1.20.x milestone Nov 19, 2020
@DeveloperJim DeveloperJim added confirmed issue is confirmed inner issue comes from Tencent side k8s labels Nov 19, 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

2 participants