mgmt/nomad-configs-tofu
Houzhong Xu eff8d3ec6d
Deploy Nomad Configurations / deploy-nomad (push) Failing after 7m45s Details
Infrastructure CI/CD / Validate Infrastructure (push) Failing after 2m33s Details
Infrastructure CI/CD / Plan Infrastructure (push) Has been skipped Details
Infrastructure CI/CD / Apply Infrastructure (push) Has been skipped Details
Simple Test / test (push) Failing after 2m48s Details
REMOVE: 删除不再使用的 Terraform 配置文件
- 移除 nomad-terraform.tf 和 test_opentofu_consul.tf 文件
- 更新 Ansible inventory,注释掉不存在的节点 hcp2
- 修改 inventory.ini,确保节点配置的准确性
- 在 nomad-config 模块中添加 null_provider 以支持新配置
- 更新 influxdb1.hcl,添加 Grafana 和 Prometheus 数据卷配置
2025-10-10 13:53:41 +00:00
..
README.md REMOVE: 删除不再使用的 Terraform 配置文件 2025-10-10 13:53:41 +00:00
ash1d-server.hcl REMOVE: 删除不再使用的 Terraform 配置文件 2025-10-10 13:53:41 +00:00
client-template-clean.hcl REMOVE: 删除不再使用的 Terraform 配置文件 2025-10-10 13:53:41 +00:00
client-template.hcl REMOVE: 删除不再使用的 Terraform 配置文件 2025-10-10 13:53:41 +00:00
onecloud1-server.hcl REMOVE: 删除不再使用的 Terraform 配置文件 2025-10-10 13:53:41 +00:00
server-template-secure.hcl REMOVE: 删除不再使用的 Terraform 配置文件 2025-10-10 13:53:41 +00:00
server-template.hcl REMOVE: 删除不再使用的 Terraform 配置文件 2025-10-10 13:53:41 +00:00

README.md

Nomad 配置 - OpenTofu 管理

节点分配

服务器节点 (3个)

  • ash3c.tailnet-68f9.ts.net
  • ch4.tailnet-68f9.ts.net
  • warden.tailnet-68f9.ts.net

客户端节点 (4个)

  • hcp1.tailnet-68f9.ts.net
  • influxdb.tailnet-68f9.ts.net (influxdb1)
  • browser.tailnet-68f9.ts.net
  • ash1d.tailnet-68f9.ts.net

已删除节点

  • ash2e.tailnet-68f9.ts.net (实例被删除,需要重建)

配置原则

  • 极简配置,移除所有垃圾
  • 禁用 Vault (历史遗留问题)
  • 使用本地 Consul (127.0.0.1:8500)
  • 服务器节点也可运行作业 (client.enabled = true)