feat: 按 doc_id 重组 ansible/files 与验证框架
- ansible/files 改为与文档 XX-YY 对齐的目录结构,更新相关 playbook 路径 - 新增 scripts/verify.sh 与 ansible/playbooks/verify/*.yml,移除单体 verify-matrix.yml - 补充 docs/00-02 矩阵状态、00-05 验证框架与流程、00-04 环境与 ylc65 工作机说明 - 增加 k3s 存储准备、Longhorn、local-path 等 playbook 与辅助脚本 Made-with: Cursor
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
|
||||
## 清单路径(唯一真源)
|
||||
|
||||
| 本篇完整清单(含 Ingress `host` + `/api`) | [`ansible/files/nodejs-demo/04-10-nodejs-demo.yaml`](../ansible/files/nodejs-demo/04-10-nodejs-demo.yaml) |
|
||||
| 应用 | `kubectl apply -f ansible/files/nodejs-demo/04-10-nodejs-demo.yaml` |
|
||||
| 本篇完整清单(含 Ingress `host` + `/api`) | [`ansible/files/04-01-nodejs-demo/04-10-nodejs-demo.yaml`](../ansible/files/04-01-nodejs-demo/04-10-nodejs-demo.yaml) |
|
||||
| 应用 | `kubectl apply -f ansible/files/04-01-nodejs-demo/04-10-nodejs-demo.yaml` |
|
||||
|
||||
`host` / `path` 可按环境修改清单;`curl` 用 IP 访问时需带 **`Host`** 头。
|
||||
|
||||
@@ -44,7 +44,7 @@ Traefik 原生 CRD 可做中间件、多规则组合等;集群需已安装对
|
||||
## 部署与验证
|
||||
|
||||
```bash
|
||||
kubectl apply -f ansible/files/nodejs-demo/04-10-nodejs-demo.yaml
|
||||
kubectl apply -f ansible/files/04-01-nodejs-demo/04-10-nodejs-demo.yaml
|
||||
kubectl describe ing nodejs-demo -n default
|
||||
|
||||
# --- 情况 A:仍是 04-01 的 Ingress(无 rules.host,path=/node)---
|
||||
|
||||
Reference in New Issue
Block a user