mgmt/backups/nomad-jobs-20251004-074411/components/traefik
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
..
jobs Clean repository: organized structure and GitOps setup 2025-10-09 06:13:45 +00:00
README.md Clean repository: organized structure and GitOps setup 2025-10-09 06:13:45 +00:00

README.md

Traefik 配置

部署

nomad job run components/traefik/jobs/traefik.nomad

配置特点

  • 明确绑定 Tailscale IP (100.97.62.111)
  • 地理位置优化的 Consul 集群顺序(北京 → 韩国 → 美国)
  • 适合跨太平洋网络的宽松健康检查
  • 无服务健康检查,避免 flapping

访问方式

  • Dashboard: http://hcp1.tailnet-68f9.ts.net:8080/dashboard/
  • 直接 IP: http://100.97.62.111:8080/dashboard/
  • Consul LB: http://hcp1.tailnet-68f9.ts.net:80

故障排除

如果遇到服务 flapping 问题:

  1. 检查是否使用了 RFC1918 私有地址
  2. 确认 Tailscale 网络连通性
  3. 调整健康检查间隔时间
  4. 考虑地理位置对网络延迟的影响