Add cluster status summary file
This commit is contained in:
78
CLUSTER-STATUS.txt
Normal file
78
CLUSTER-STATUS.txt
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
╔════════════════════════════════════════════════════════════════╗
|
||||||
|
║ K3s 集群当前状态 - 2026-01-21 ║
|
||||||
|
╚════════════════════════════════════════════════════════════════╝
|
||||||
|
|
||||||
|
📊 集群信息
|
||||||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
版本: k3s v1.34.3+k3s1
|
||||||
|
模式: 单节点 (可扩展至 HA)
|
||||||
|
Master IP: 134.195.210.237
|
||||||
|
节点名称: vmus9
|
||||||
|
|
||||||
|
🔐 关键凭证
|
||||||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
节点令牌: K109d35a131f48b4d40b162398a828b766d60735f29dd7b4a37b030c1d1c0e26b23::server:72e04c3a9e3e762cbdefffc96f348a2d
|
||||||
|
ArgoCD 密码: R5ALO8NIRi4KoN8Q
|
||||||
|
Registry 密码: admin / 123456
|
||||||
|
|
||||||
|
🚀 已部署服务
|
||||||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
✅ WordPress 博客 https://blog.u9.net3w.com
|
||||||
|
✅ Docker Registry https://registry.u9.net3w.com
|
||||||
|
✅ n8n 工作流 https://n8n.u9.net3w.com
|
||||||
|
✅ Gitea 代码仓库 https://git.u9.net3w.com
|
||||||
|
✅ Uptime Kuma 监控 https://status.u9.net3w.com
|
||||||
|
✅ 导航页 https://nav.u9.net3w.com
|
||||||
|
✅ ArgoCD GitOps https://argocd.u9.net3w.com
|
||||||
|
|
||||||
|
💾 存储配置
|
||||||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
存储系统: Longhorn 分布式存储
|
||||||
|
总容量: 41Gi (MySQL 2Gi + Registry 20Gi + Gitea 10Gi + n8n 5Gi + Kuma 2Gi + 其他 2Gi)
|
||||||
|
副本数: 1 (单节点)
|
||||||
|
扩展后建议: 3 副本 (需要 3+ 节点)
|
||||||
|
|
||||||
|
📚 文档清单
|
||||||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
📖 README.md - GitOps 自动部署完整指南
|
||||||
|
📖 K3S-CLUSTER-EXPANSION.md - 集群扩展详细文档 (2/4/6节点方案)
|
||||||
|
📖 QUICK-REFERENCE.md - 快速参考卡片
|
||||||
|
📖 CLUSTER-STATUS.txt - 本文件 (集群状态)
|
||||||
|
|
||||||
|
🛠️ 脚本工具
|
||||||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
scripts/join-worker.sh - Worker 节点一键加入
|
||||||
|
scripts/join-master.sh - Master 节点一键加入 (HA)
|
||||||
|
scripts/check-node-health.sh - 集群健康检查
|
||||||
|
scripts/generate-join-script.sh - 生成定制化加入脚本
|
||||||
|
|
||||||
|
🎯 下一步操作
|
||||||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
1. 推送代码到 Gitea:
|
||||||
|
- 访问 https://git.u9.net3w.com 创建仓库
|
||||||
|
- git remote add origin https://git.u9.net3w.com/用户名/k3s-configs.git
|
||||||
|
- git push -u origin master
|
||||||
|
|
||||||
|
2. 配置 ArgoCD 自动同步:
|
||||||
|
- 访问 https://argocd.u9.net3w.com
|
||||||
|
- 登录: admin / R5ALO8NIRi4KoN8Q
|
||||||
|
- 连接 Gitea 仓库
|
||||||
|
- 应用: kubectl apply -f k3s/argocd-app.yaml
|
||||||
|
|
||||||
|
3. 扩展集群 (可选):
|
||||||
|
- 2节点: 阅读 K3S-CLUSTER-EXPANSION.md 第一部分
|
||||||
|
- 4节点 HA: 阅读第二部分 (需要负载均衡器)
|
||||||
|
- 6节点: 阅读第三部分 (大规模生产)
|
||||||
|
|
||||||
|
4. 测试 GitOps 工作流:
|
||||||
|
- 修改任意 YAML 文件
|
||||||
|
- git commit && git push
|
||||||
|
- ArgoCD 自动同步到集群
|
||||||
|
|
||||||
|
📞 获取帮助
|
||||||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
查看集群状态: kubectl get nodes
|
||||||
|
健康检查: bash scripts/check-node-health.sh
|
||||||
|
查看日志: kubectl logs -f <pod-name> -n <namespace>
|
||||||
|
|
||||||
|
═══════════════════════════════════════════════════════════════
|
||||||
Reference in New Issue
Block a user