13.13 官方文档与权威资料索引
所属:全栈开发面试题库 / 学习路径 / 13 DevOps 与 SRE
按学习顺序排列。建议先读官方文档掌握概念,再看实践指南。版本基线:Kubernetes 1.29、containerd 1.7、Argo CD 2.x、Prometheus 2.5x、Grafana 10.x、Loki 3.x、OpenTelemetry 1.x、Cilium 1.16、Vault 1.15。
| 序号 | 名称 | 链接 | 用途 | 建议阅读顺序 |
|---|---|---|---|---|
| 1 | Kubernetes 官方文档 | https://kubernetes.io/docs/home/ | K8s 所有资源对象、概念、任务的权威参考 | 先读 Concepts 理解架构,再读 Tasks 学操作 |
| 2 | Kubernetes 官方 Tutorials | https://kubernetes.io/docs/tutorials/ | 交互式教程,从 Hello Minikube 开始 | 入门阶段(阶段 3)跟着做一遍 |
| 3 | Docker 官方文档 | https://docs.docker.com/ | Dockerfile、镜像构建、Compose 参考 | 阶段 2 先读 Dockerfile best practices |
| 4 | containerd 官方文档 | https://containerd.io/docs/ | 容器运行时底层,理解 CRI 接口 | 阶段 2 选读,理解 Docker 与 containerd 的关系 |
| 5 | Prometheus 官方文档 | https://prometheus.io/docs/introduction/overview/ | 指标模型、PromQL、告警规则权威参考 | 阶段 5 重点读 Querying 和 Alerting 章节 |
| 6 | PromQL 官方文档 | https://prometheus.io/docs/prometheus/latest/querying/basics/ | PromQL 语法、函数、运算符 | 阶段 5 边写边查,先学 rate/histogram_quantile |
| 7 | Grafana 官方文档 | https://grafana.com/docs/grafana/latest/ | 看板配置、DataSource、Panel 类型 | 阶段 5 先读 Dashboard best practices |
| 8 | Loki 官方文档 | https://grafana.com/docs/loki/latest/ | 日志聚合、LogQL、label 设计 | 阶段 5 读 LogQL 语法和 label 最佳实践 |
| 9 | OpenTelemetry 官方文档 | https://opentelemetry.io/docs/ | 链路追踪、SDK、Collector 配置 | 阶段 5 读 Getting Started 和 Collector 配置 |
| 10 | Argo CD 官方文档 | https://argo-cd.readthedocs.io/ | GitOps 持续交付、Application 配置 | 阶段 4 读 Getting Started 和 Application 定义 |
| 11 | Helm 官方文档 | https://helm.sh/docs/ | Chart 模板、values、仓库管理 | 阶段 3 读 Chart Template Developer Guide |
| 12 | Cilium 官方文档 | https://docs.cilium.io/ | eBPF 网络、Network Policy、可观测 | 阶段 6 读 Network Policy 章节 |
| 13 | HashiCorp Vault 官方文档 | https://developer.hashicorp.com/vault/docs | 密钥管理、动态密钥、轮换 | 阶段 6 读 Getting Started 和 Dynamic Secrets |
| 14 | Sealed Secrets 官方文档 | https://github.com/bitnami-labs/sealed-secrets | GitOps 友好的密钥管理方案 | 阶段 6 读 Usage 章节,学 kubeseal 命令 |
| 15 | Kubernetes 最佳实践 | https://kubernetes.io/docs/concepts/configuration/overview/ | 配置管理、标签、命名规范 | 阶段 3–4 通读,避免常见错误 |
| 16 | Google SRE Book | https://sre.google/sre-book/table-of-contents/ | SRE 方法论权威著作,含 SLO、错误预算、故障管理 | 阶段 8 重点读 SLO 章节和 Postmortem Culture |
| 17 | Google Workbook | https://sre.google/workbook/table-of-contents/ | SRE 实践手册,含具体练习(如错误预算计算、压测) | 阶段 7–8 配合 SRE Book 做练习 |
| 18 | k6 官方文档 | https://k6.io/docs/ | 压测工具,脚本化压测 | 阶段 7 读 Getting Started 和 Test types |
| 19 | Trivy 官方文档 | https://trivy.dev/ | 镜像漏洞扫描、配置扫描 | 阶段 6 读 Getting Started,学扫描命令 |
| 20 | Chaos Mesh 官方文档 | https://chaos-mesh.org/docs/ | K8s 混沌工程实验 | 阶段 8 读 Getting Started,做 PodChaos 实验 |
阅读建议:
- 阶段 0–2:读 #1(K8s Tutorials)、#3(Docker)。
- 阶段 3:读 #1(K8s Concepts)、#11(Helm)、#15(K8s Best Practices)。
- 阶段 4:读 #10(Argo CD)、#3(Dockerfile best practices)。
- 阶段 5:读 #5–#9(Prometheus、PromQL、Grafana、Loki、OTel)。
- 阶段 6:读 #12(Cilium)、#13(Vault)、#14(Sealed Secrets)、#19(Trivy)。
- 阶段 7:读 #18(k6)、#16(SRE Book 故障管理章节)。
- 阶段 8:读 #16(SRE Book SLO 章节)、#17(Workbook)、#20(Chaos Mesh)。