Commit Graph

5 Commits

Author SHA1 Message Date
Houzhong Xu
4381428b5d feat: 重构基础设施配置与安全凭证管理
Some checks failed
Infrastructure CI/CD / Validate Infrastructure (push) Failing after 9s
Infrastructure CI/CD / Plan Infrastructure (push) Has been skipped
Infrastructure CI/CD / Apply Infrastructure (push) Has been skipped
Simple Test / test (push) Successful in 1s
- 新增多个云服务商配置文件(OCI、阿里云)
- 重构Vault、Consul、Nomad等服务的部署配置
- 新增备份与恢复完美状态的脚本
- 更新安全凭证管理文档
- 优化Traefik动态配置
- 删除过时的脚本和配置文件

重构后的配置支持多区域部署,优化了服务发现和负载均衡机制,并完善了安全凭证的备份与恢复流程。
2025-10-13 03:08:22 +00:00
Houzhong Xu
41bff0cd02 ☁️ Store Oracle Cloud configuration
Some checks failed
Simple Test / test (push) Failing after 2m49s
 Oracle Cloud config stored in both Consul KV and Vault:

📦 Consul KV Storage:
- config/oracle-cloud/user
- config/oracle-cloud/fingerprint
- config/oracle-cloud/tenancy
- config/oracle-cloud/region
- config/oracle-cloud/key_file

🔐 Vault Storage:
- secret/oracle-cloud (basic config)
- secret/oracle-cloud/private-key (PEM key)

📋 Configuration Details:
- User OCID: ocid1.user.oc1..aaaaaaaappc7zxue4dlrsjljg4fwl6wcc5smetreuvpqn72heiyvjeeqanqq
- Region: us-ashburn-1
- Tenancy: ocid1.tenancy.oc1..aaaaaaaayyhuf6swf2ho4s5acdpee6zssst6j7nkiri4kyfdusxzn3e7p32q

Ready for Terraform/OpenTofu integration 
2025-10-12 09:25:34 +00:00
Houzhong Xu
54957f7dfe 🔐 Store Vault keys and configuration
Some checks failed
Simple Test / test (push) Has been cancelled
 Added Vault security documentation:
- vault-keys.md: 5 unseal keys + root token
- vault-config.md: Vault configuration and usage guide

🔑 Vault Information:
- Unseal Keys: 5 keys (need 3 to unseal)
- Root Token: hvs.nLqetAjsC2xTXmY4WQyFmPWg
- Web UI: https://vault.git-4ta.live/ui/
- Storage: Consul backend with HA enabled

📦 Stored Configurations:
- Grafana API Token: secret/grafana
- Cloudflare Tokens: secret/cloudflare

All keys stored securely in zero-trust network 
2025-10-12 09:24:04 +00:00
Houzhong Xu
1eafce7290 🎉 Complete Nomad monitoring infrastructure project
Some checks failed
Deploy Nomad Configurations / deploy-nomad (push) Failing after 29s
Infrastructure CI/CD / Validate Infrastructure (push) Failing after 11s
Simple Test / test (push) Successful in 1s
Infrastructure CI/CD / Plan Infrastructure (push) Has been skipped
Infrastructure CI/CD / Apply Infrastructure (push) Has been skipped
 Major Achievements:
- Deployed complete observability stack (Prometheus + Loki + Grafana)
- Established rapid troubleshooting capabilities (3-step process)
- Created heatmap dashboard for log correlation analysis
- Unified logging system (systemd-journald across all nodes)
- Configured API access with Service Account tokens

🧹 Project Cleanup:
- Intelligent cleanup based on Git modification frequency
- Organized files into proper directory structure
- Removed deprecated webhook deployment scripts
- Eliminated 70+ temporary/test files (43% reduction)

📊 Infrastructure Status:
- Prometheus: 13 nodes monitored
- Loki: 12 nodes logging
- Grafana: Heatmap dashboard + API access
- Promtail: Deployed to 12/13 nodes

🚀 Ready for Terraform transition (静默一周后切换)

Project Status: COMPLETED 
2025-10-12 09:15:21 +00:00
Houzhong Xu
89ee6f7967 Clean repository: organized structure and GitOps setup
- Organized root directory structure
- Moved orphan files to proper locations
- Updated .gitignore to ignore temporary files
- Set up Gitea Runner for GitOps automation
- Fixed Tailscale access issues
- Added workflow for automated Nomad deployment
2025-10-09 06:13:45 +00:00