feat(deploy): 新增 k3s/k8s Helm Chart 部署方案#1154
Open
acllm wants to merge 2 commits into
Open
Conversation
- 新增 deploy/helm/trendradar/ 完整 Helm Chart - 复用 Docker 镜像 (wantcat/trendradar, wantcat/trendradar-mcp),零侵入现有代码 - Deployment + supercronic 模式,保持与 Docker 部署行为一致 - MCP 服务和 Ingress 均为条件渲染,默认关闭 - 支持 hostPath (单节点 k3s) 和 PVC (多节点/生产) 两种存储模式 - 所有参数通过 values.yaml 暴露,利用项目已有的环境变量覆盖机制 - Secret 管理敏感配置 (API keys, tokens),ConfigMap 管理非敏感环境变量 - 包含 PodDisruptionBudget、Helm test hook、安装提示等运维友好特性 🤖 Generated with [Aiden x Claude Code] Co-Authored-By: Aiden
- 新增 schedule.enabled / schedule.preset / reportMode 参数 - ConfigMap 条件渲染 SCHEDULE_ENABLED / SCHEDULE_PRESET / REPORT_MODE - 留空时使用 config.yaml 默认值,零侵入 🤖 Generated with [Aiden x Claude Code] Co-Authored-By: Aiden
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
为 TrendRadar 新增 k3s/k8s Helm Chart 部署方案,与现有 Docker 部署方案并行,方便已在 k3s/k8s 环境的用户一键部署。
设计原则
deploy/helm/trendradar/values.yaml暴露,一条helm upgrade --set即可调参架构决策
采用 Deployment + supercronic 而非 CronJob,理由:
新增文件 (16 个)
快速开始
冒烟测试
已在 k3s (v1.33.5) 单节点集群上完成以下验证:
helm install最小配置安装helm test连通性检查helm upgrade无损升级🤖 Generated with [Aiden x Claude Code]
Co-Authored-By: Aiden