werwerwer
ACP Kernel 拆解与瘦身

Platform Aligned L4 插件方案

前端与 Helm repository service 的拆分

Platform Aligned L4 插件方案

目标

前端能力与 Helm repository service 以独立插件交付。Kernel 提供后端、权限、路由、证书与入口能力。

拆分粒度

L4 与 Kernel 对称:Kernel 内部虽有 14 个插件,但按「不可细分」原则作为整体交付。L4 也按「能否独立装卸 / 是否同发版节奏」收敛,不按源仓或子模块二次细拆。

L4 单元独立装卸理由
l4-consoleConsole shell、console 入口、auth UI 同源仓(frontend/alauda-fe + alauda/alauda-console)、同发版节奏、生产部署强耦合(少装一个 console 就不可用),合并为单一交付单元
l4-marketplace-uiAI / 集成场景可选不装 operator 市场,独立装卸有真实需求
l4-helm-repository-service后端服务而非 UI,与 console 不同维度;可独立选择是否启用 chart hosting

L4 资产清单

工作量估算统一在 delivery-plan.md 的 A4 中维护,本文件不再重复 Story Point。

L4 插件镜像 / 载荷Source RepoChart Carrier目标职责
l4-consolefrontend/portal, frontend/chart-frontend, frontend/assets, frontend/i18n, alauda/alauda-console, frontend/console-dex, frontend/console-project, frontend/user-pluginfrontend/alauda-fe, alauda/alauda-console, ait/chart-base-cluster, ait/chart-auth-manager-centralait/chart-console-essentialsConsole shell、OIDC 入口、登录 / 用户 / 项目 UI
l4-marketplace-uifrontend/app-market-pluginfrontend/alauda-fe, ait/marketplaceait/chart-console-marketplaceOperator Marketplace UI
l4-helm-repository-serviceacp/captain, 3rdparty/chartmuseumcontainer-platform/captain, container-platform/chartmuseumait/chart-application-catalogHelm repository backend

服务边界

能力Kernel 侧L4 侧
身份与权限apollo, auth-controller2l4-console(登录 / 用户 / 项目页面)
多集群路由erebus, cluster-transformerl4-console, l4-marketplace-ui
Operator 市场后端marketplace, updater-manager, OLM APIl4-marketplace-ui
Console 入口alb, cert-managerl4-console
Helm repository backendKernel 提供 auth / routing / ingressl4-helm-repository-service

依赖图

详细插件计划

l4-console

维度说明
来源base, base-central, auth-manager-central 中前端载荷与 console server
子载荷shell(frontend/portal / chart-frontend / assets / i18n)、entry(alauda/alauda-console)、auth UI(console-dex / console-project / user-plugin)
运行依赖apollo, auth-controller2, erebus, cluster-transformer, alb, cert-manager
交付形态单一 console-essentials ModulePlugin;appReleases 拉两个 chart:ait/chart-console-essentials(本仓)+ frontend/chart-frontend(仍由 frontend/alauda-fe 构建发版)
验收OIDC 跳转、cookie、shell load、route dispatch、static asset delivery、login、user list、project list

l4-marketplace-ui

维度说明
来源marketplace-central
运行依赖marketplace, updater-manager, erebus, alb, cert-manager
交付形态独立 ModulePlugin / chart
验收operator browse、install trigger、status display

l4-helm-repository-service

维度说明
来源marketplace-central
运行依赖marketplace, erebus, alb, cert-manager
交付形态独立 ModulePlugin / chart
验收chart upload、index refresh、center sync

执行顺序

顺序插件原因
1l4-consoleUI 体系底座,shell + entry + auth 一次性收敛
2l4-marketplace-ui依赖 marketplace backend,可在 console 之后单独验证
3l4-helm-repository-servicewatcher、RBAC、service account 清理量最大,最后处理

Packaging 指引

主题指引
ModulePlugin 身份每个 L4 插件拥有独立 ModulePlugin 名称与版本;l4-console 内部子载荷不单独发版
Dependencies显式声明对 Kernel plugins 的依赖
Harbor repos保持当前 repo 地址
Ingress统一通过 alb 暴露
TLS统一复用 cert-manager

验证矩阵

插件核心验证点
l4-consoleOIDC 跳转、cookie、shell load、route dispatch、static asset、login、user list、project list
l4-marketplace-uioperator browse、install trigger、status display
l4-helm-repository-servicechart upload、index refresh、center sync

On this page