Files
Deploy-Laboratory/docs/04-00-nodejs-系列说明.md
2026-03-29 09:08:01 +08:00

43 lines
2.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 04-00 Node.js 高级部署(系列说明)
> 本系列以 `nodejs-demo` 为基线(`04-01`),后续分项在同一套累积 YAML 上做增量变更;**总集**见 `ansible/files/04-01/`。`**04-02``04-13`** 各课在 `ansible/files/04-XX/` 另有**同构副本**,便于学习时解耦、最小化手工演练(复制 YAML → 改字段 → `kubectl`/bash**自动验收**仍用 `./ansible/bin/verify.sh run 04-XX`。
## TL;DR
- **基线入口**`04-01-k3s-nodejs-高级部署.md`
- **本页定位**:仅系列导航,不参与 `verify.sh run-all/full`
- **子篇执行入口**`./ansible/bin/verify.sh run 04-01` `./ansible/bin/verify.sh run 04-14`
## 范围与非目标
- 本页是 **04 系列入口/导航页**`YY=00`),不要求具备独立执行器,且不参与 `verify.sh run-all/full`
- `YY>0` 的分项必须包含可执行物YAML 路径或命令块)。
## 04 系列索引
| doc_id | 主题 | 子篇执行入口 |
| ------ | --------------------------------- | ----------------------------------- |
| 04-01 | 基线Deployment + Service + Ingress | `./ansible/bin/verify.sh run 04-01` |
| 04-02 | 端口与 Service | `./ansible/bin/verify.sh run 04-02` |
| 04-03 | 镜像与运行命令 | `./ansible/bin/verify.sh run 04-03` |
| 04-04 | 环境变量与配置注入 | `./ansible/bin/verify.sh run 04-04` |
| 04-05 | 探针与健康检查 | `./ansible/bin/verify.sh run 04-05` |
| 04-06 | 副本与滚动发布 | `./ansible/bin/verify.sh run 04-06` |
| 04-07 | Ingress 与 Traefik | `./ansible/bin/verify.sh run 04-07` |
| 04-08 | 资源请求与限制 | `./ansible/bin/verify.sh run 04-08` |
| 04-09 | 调度与亲和 | `./ansible/bin/verify.sh run 04-09` |
| 04-10 | 安全上下文 | `./ansible/bin/verify.sh run 04-10` |
| 04-11 | 存储与卷 | `./ansible/bin/verify.sh run 04-11` |
| 04-12 | TLS 与证书 | `./ansible/bin/verify.sh run 04-12` |
| 04-13 | HPA | `./ansible/bin/verify.sh run 04-13` |
| 04-14 | GitOps 与 CI 流水线 | `./ansible/bin/verify.sh run 04-14` |
## 真源位置
- **总集(对照 diff**`ansible/files/04-01/`(各 `04-0x-nodejs-demo.yaml` 的演进关系)
- **分课副本(`04-02``04-13`**`ansible/files/04-XX/04-XX-nodejs-demo.yaml`,与 `04-01/` 内同名文件同构,专供单篇学习与手工复制
- **手动**:以分课目录清单为准;**自动**`verify.sh run <doc_id>`