3 Commits

Author SHA1 Message Date
admin 58079daba9 feat: 添加 Gitea Actions CI/CD — tag 驱动环境部署
GraphRAG CI/CD / build-and-deploy (push) Failing after 3m49s
- git push → 构建镜像 (sha-xxx) → 部署到 test (graphrag-test)
- git push --tags → 构建镜像 (vx.y.z) → 部署到 prod (graphrag-prod)
- DNS + hostAliases + nodeAffinity 固化到 deployment yaml
- 前后端均固定到 k8smaster 节点,便于 CI 导入 containerd 镜像
2026-06-18 14:26:15 +08:00
admin 1d12cb574e fix: cleanup k8s configs, add deploy.sh, remove hardcoded secrets
- Add one-click deploy script (k8s/deploy.sh) for test + prod
- Add startupProbe to backend (60x10s = 10min grace for ML model loading)
- Add configmap.yaml and secret.yaml (envsubst from backend/.env)
- Fix image URLs: add registry.plfai.cn prefix
- Fix frontend: API base URL relative (/api/v1), login-required mode
- Remove hardcoded localhost references from frontend
- Clean broken kustomize overlays
- Add nodeAffinity for backend→k8smaster, frontend→plf-cvm/k8smaster
- Remove dead ReplicaSets and stale pods during deploy
2026-06-16 14:15:31 +08:00
admin eeea55e9e4 feat: 添加 Dockerfile、docker-compose 及 K8s kustomize 部署文件 2026-06-15 16:49:35 +08:00