chore: 对齐 00-05 §2 的部署与验证脚本

- 新增 deploy-lab.sh(k3s/longhorn/nginx 铺栈)与 ssh/run-phase2-k3s-on-ylc61-as-jack.sh
- verify.sh:flow/preflight、VERIFY_TEARDOWN 默认、注释与 §2 对应
- 更新 smoke-verify、README、.env.verify.example、根 README 与主要 playbook 头注释
- k3s-delete-lab-stacks 标明重度清场语义

Made-with: Cursor
This commit is contained in:
2026-03-26 07:32:08 +08:00
parent 8c43761962
commit 231b6713c4
16 changed files with 294 additions and 67 deletions

View File

@@ -1,4 +1,5 @@
---
# 部署docs/00-05 §2 步骤 3——local-path ConfigMapPVC 演示验收见 scripts/verify.sh run 03-05。
# 仅应用本仓库 local-path 实验室 ConfigMap不安装 Longhorn。在 k3s_server 上执行。
# 与 docs/03-05 中「方法一」一致真源ansible/files/03-05-local-path-config/local-path-config-lab.json

View File

@@ -1,4 +1,8 @@
---
# 部署docs/00-05 §2 步骤 3「正式安装类」——全集群 K3s + 节点准备(非 verify.sh 单条 teardown
# 前置§2 步骤 1 接入inventory/SSH步骤 2 可选 scripts/deploy-lab.sh 在 K3S_PREPARE_STORAGE=true 时先跑 k3s-prepare-storage.yml。
# 入口:仓库根 ./scripts/deploy-lab.sh k3s或 ansible-playbook -i ansible/inventory.ini ansible/playbooks/k3s-init-and-install.yml
- name: Verify /storage is a separate mount (optional)
hosts: k3s_nodes
become: true

View File

@@ -1,4 +1,6 @@
---
# 部署docs/00-05 §2 步骤 23 可选前置——数据盘 → /storage非矩阵验收
# 推荐经 scripts/deploy-lab.sh k3s 在 K3S_PREPARE_STORAGE=true 时自动串行;勿与 verify.sh run-all 混为同一含义。
# 可选在空白数据盘上创建单分区、ext4、fstab 并挂载到 k3s_data_dir默认 /storage
# 启用前在 group_vars/all.yml 设置 k3s_prepare_storage: true 与 k3s_data_disk_device如 /dev/vdb
# 会清空该磁盘上的数据。若 /storage 已是挂载点则跳过。

View File

@@ -1,4 +1,5 @@
---
# 部署docs/00-05 §2 步骤 3——Helm 铺栈;验收见 scripts/verify.sh run 03-07。
# Helm 安装 Longhorn与 docs/03-07 一致)。在控制节点执行,依赖 KUBECONFIG=/etc/rancher/k3s/k3s.yaml
# 变量group_vars/all.yml 中 longhorn_chart_version、longhorn_install_node_packages、longhorn_apply_local_path_lab

View File

@@ -1,4 +1,6 @@
---
# 部署docs/00-05 §2 步骤 3——铺栈无按 doc_id 的断言/teardown
# 矩阵级验收请用 scripts/verify.sh run 02-01…02-05 或 run-all。
# Ansible 一键部署 nginx 矩阵M1M4
# 对应文档docs/02-05-nginx-验证矩阵-一键部署.md02-0102-04 分篇已整合)
#

View File

@@ -1,4 +1,5 @@
---
# 部署docs/00-05 §2 步骤 3——TLS 铺栈;验收见 scripts/verify.sh run 03-02 等。
# Ansible 一键部署 nginx 矩阵 TLS 版M1M4HTTPS
# 对应文档docs/03-02-k3s-traefik-acme.md
#

View File

@@ -1,4 +1,5 @@
---
# 部署docs/00-05 §2 步骤 3——应用单文件 demo整链验收优先 scripts/verify.sh run 04-01。
# 一键应用 Node.js demo 清单(与 docs/04-0104-13 + ansible/files/04-01-nodejs-demo 对齐)
#
# 执行(在仓库根目录):