topfans/docs/superpowers/specs
zheng020 4db796f407 docs: restructure K8s migration spec into two phases
Per user feedback, split into two phases:

Phase 1 (this task): Merged deployment to reduce cost. All services in single topfans namespace, single gateway, external DB (RDS/ElastiCache), HPA for high-load services. Focus on getting off single VM and using K8s elasticity.

Phase 2 (future, not in this task): Per-group namespace isolation. Triggered by scale/isolation needs. Sketch included as future reference.

Removed from this spec (moved to Phase 2 or out of scope):
- per-group namespace architecture (was the original main design)
- ResourceQuota / LimitRange
- per-group gateway with cross-ns Dubbo
- application-layer group_id changes
- new services (admin/review/ai-*) implementation

Updated:
- Section 0: New 'Phased Strategy' section at top
- Section 2: Three candidates reframed for Phase 1 (don't migrate / single-namespace / per-group from day 1)
- Section 4: Detailed design is now single-namespace with all services merged
- Section 5: Single chart (topfans/) instead of two (topfans-shared + topfans-group)
- Section 6: Migration plan is Phase 1 only
- Section 10: Refinements trimmed to Phase 1-relevant items
- Section 11 (NEW): Phase 2 future design sketch for reference
2026-06-08 17:25:17 +08:00
..
2026-05-13-contribution-realtime-display-design.md feat: 新增图片,修改应援消耗道具 2026-05-15 23:12:02 +08:00
2026-05-14-activity-ranking-modal-design.md docs: 添加活动榜单弹窗设计文档 2026-05-15 11:49:00 +08:00
2026-05-14-redis-token-blacklist-design.md docs: 优化 Redis Token 黑名单设计 2026-05-15 11:49:00 +08:00
2026-05-21-asset-likers-design.md docs: 修改查询藏品设计文档 2026-05-22 11:58:15 +08:00
2026-05-22-lenticular-gyro-optimization-design.md feat: 修改自动领取收益关闭,修复下架时间的bug,修改的光栅卡陀螺仪 2026-05-25 11:08:35 +08:00
2026-05-22-sms-register-design.md feat: 修改为4/3比例的图 2026-05-22 18:43:45 +08:00
2026-05-27-热门推荐模块设计.md docs:ai搭子修改,热门模块新增,字段判断基础文档 2026-05-27 16:49:58 +08:00
2026-05-28-热门推荐模块前端设计.md style:修改主页样式和个人页样式 2026-05-28 17:46:09 +08:00
2026-06-02-data-dashboard-frontend-design.md docs: 数据看板 spec 补充 effectScope 与 6/7 映射说明 2026-06-03 01:20:47 +08:00
2026-06-02-vertical-progress-bar-design.md docs: add VerticalProgressBar component design spec 2026-06-02 21:35:48 +08:00
2026-06-04-castlove-config-admin-design.md feat:增加env配置 2026-06-05 12:26:05 +08:00
2026-06-04-statistic-service-design.md docs(statistic): add 本期实施范围 chapter to design doc + implementation plan 2026-06-08 17:20:53 +08:00
2026-06-08-docker-to-k8s-migration-design.md docs: restructure K8s migration spec into two phases 2026-06-08 17:25:17 +08:00