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

简化 whizard 全局配置,丰富Sercice层级配置 #424

Closed
frezes opened this issue Jan 9, 2024 · 4 comments
Closed

简化 whizard 全局配置,丰富Sercice层级配置 #424

frezes opened this issue Jan 9, 2024 · 4 comments

Comments

@frezes
Copy link
Collaborator

frezes commented Jan 9, 2024

需求描述:当前 Whizard 使用 whizard-config 作为全局配置文件,但如果启用多个Service,各自Service 的独立配置无法定义,且无法处理ruler 与rule 的关联关系;因此需要简化全局配置,丰富Service 层级配置;

@frezes frezes mentioned this issue Jan 9, 2024
9 tasks
@frezes
Copy link
Collaborator Author

frezes commented Jan 9, 2024

注: 此版本 API 及参数将存在 Breaking Change,仅保证 3.5 -> 4.1 默认部署正常升级,存在配置丢失风险

@frezes
Copy link
Collaborator Author

frezes commented Jan 9, 2024

@junotx 看下上午的讨论是否还有遗漏点,可以再补充修改下

@benjaminhuo
Copy link
Member

  • Service 将包含组件全部配置
  • whizard-config 将只包含基础的 KubernetesOptions 及后续的 KubernetesOptions(用于 License 限制),移除 MonitoringOptions
  • Component CR > Service CR, 即 配置优先通过组件 CR 的读取, 如果字段未发现则通过 Service CR 读取,Service CR 未发现则通过内置常量获取,各组件资源配置、镜像版本 等代码内置
  • helm charts 将进行大调整,会有一个 Job 来处理 Service 参数 merge 合并, 并进行 Apply, 且该 Job 处理 CRD 升级逻辑,组件 CR 配置尽可能精简

注: 此版本 API 及参数将存在 Breaking Change,仅保证 3.5 -> 4.1 默认部署正常升级,存在配置丢失风险

这些项都哪些在 PR 里完成了?

@frezes
Copy link
Collaborator Author

frezes commented Apr 28, 2024

已完成

@frezes frezes closed this as completed Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants