返回首页

Wiki Schema

📝 1110 字

Wiki Schema

Domain

运维排障与数据管理 — 涵盖 Kubernetes 集群运维、Redis/MySQL 等数据库管理、容器化部署、生产环境最佳实践 2026-05-12 拓宽:新增"电商运营与广告投放"领域(亚马逊广告策略) 2026-05-13 拓宽:新增"无线网络与硬件优化"领域(Wi-Fi 6/7 路由器性能调优) 2026-06-18 拓宽:亚马逊领域持续增长至 21 页(广告架构/竞价策略/攻防框架/品牌建设/流量生态等);Terraform/IaC 领域起步;跨领域通用内容增至 16 页;nginx 扩至 11 页 2026-06-24 拓宽:kubernetes 36页;linux 46页;nginx 11页;database 11页;docker 3页;amazon 21页;hardware 1页;terraform 2页;general 17页 2026-06-25 拓宽:kubernetes 36页;linux 47页;nginx 11页;database 11页;docker 3页;amazon 21页;hardware 1页;terraform 2页;general 17页 2026-07-01 拓宽:kubernetes 36页;linux 48页;nginx 11页;database 11页;docker 3页;amazon 21页;hardware 1页;terraform 2页;general 17页 2026-07-09 拓宽:kubernetes 36页;linux 49页;nginx 12页;database 12页;docker 3页;amazon 22页;hardware 1页;terraform 2页;general 17页 2026-07-14 拓宽:kubernetes 36页;linux 52页;nginx 12页;database 13页;docker 3页;amazon 22页;hardware 1页;terraform 2页;general 17页 2026-07-21 拓宽:kubernetes 37页;linux 53页;nginx 12页;database 14页;docker 3页;amazon 24页;hardware 1页;terraform 2页;general 17页 2026-07-30 拓宽:kubernetes 37页;linux 55页;nginx 13页;database 14页;docker 3页;amazon 24页;hardware 1页;terraform 2页;general 17页 2026-07-31 拓宽:kubernetes 39页;linux 56页;nginx 13页;database 14页;docker 3页;amazon 24页;hardware 1页;terraform 2页;general 17页 2026-08-11 拓宽:amazon 25页(新增参考价与划线价专题) 2026-09-02 拓宽:linux 57页(新增幽灵文件/已删未释放空间排查);总页数 176;新增标签 logrotate 2026-09-05 拓宽:amazon 26页(新增否定关键词专题:两种否定匹配/黄金三步走/归因周期);总页数 177 2026-09-05 拓宽:database 15页(新增主从延迟专页;mysql-replication-guide 合并原理深拆+完整搭建+避坑清单);总页数 178 2026-09-05 拓宽:amazon 27页(新增广告调整决策框架专页:加预算/加 Bid/否词条件题+七步法;四既有页增量合并) 2026-09-05 拓宽:nginx 14页(新增日志暴涨排查手册专页:14 步 runbook 五维分析+止血+过滤+回滚;三既有页增量合并与关联页面表统一转列表) 2026-09-07 拓宽:linux 60页(新增 SMART 磁盘故障预测专页:6 大高危指标+采集管道+smartd 告警+XGBoost 模型+Prometheus 可视化;inspection-tools 属性表增量合并;linux 计数由 57 校正为 60,修复历史漂移 2 页) 2026-09-07 拓宽:linux 61页(新增 RAID 5 大容量时代重建风险专页:写惩罚 RMW+URE 二次雪崩+RAID 6/10 选型;raid-lvm-basics-guide 增量合并 RAID5 小节与陷阱 5→6) 2026-09-07 拓宽:linux 62页(新增挖矿木马应急响应 runbook 专页:11 阶段流程+持久化五类位置+ld.so.preload+回滚方案;hacked-server/mining-virus/hardening-checklist/intrusion-detection/ssh-brute-force 五页增量合并) 2026-09-07 拓宽:linux 63页(新增磁盘故障场景化修复 runbook 专页:8 大场景对号入座+巡检清单+数据库盘先导出原则;partition-mount/space-troubleshooting/smart-prediction/raid-lvm/disk-io-troubleshoot 五页增量合并) 2026-09-07 拓宽:linux 64页(新增负载过高排查 SOP 专页:11 步标准流程+6 场景修复手册+回滚与生产纪律;load-average-guide/load-high-cpu-low/server-load-case-study/rsyslogd-case-study/process-state-diagnosis 五页增量互链)

Conventions

  • File names: lowercase, hyphens, no spaces (e.g., pod-troubleshooting.md)
  • Every wiki page starts with YAML frontmatter (see below)
  • Use [[wikilinks]] to link between pages (minimum 2 outbound links per page)
  • When updating a page, always bump the updated date
  • Every new page must be added to index.md under the correct section
  • Every action must be appended to log.md — entries follow the file's current format (currently table rows | YYYY-MM-DD | action | subject | details |; historical entries use ## [YYYY-MM-DD] action | subject headings)
  • Every page must have a ## 相关页面 section with ≥2 related page links (unless genuinely no related content exists). Each link uses format - [[slug]] — one-line description.

  • Wikilink format: [[slug]] only. NO pipe syntax. Python-Markdown wikilinks extension regex r'\[\[([\w0-9_ -]+)\]\]' does NOT support [[slug|display text]] — pipe characters break link recognition, leaving the text as raw markup instead of a clickable link. Use natural surrounding text for context. (2026-06-18 根因审计发现 4 处管道符 wikilink 不可点击,全库已修复)

  • Provenance markers: On pages that synthesize 3+ sources, append [raw/articles/source-file.md](/page/raw/articles/source-file) at the end of paragraphs whose claims come from a specific source.

Concepts 子目录结构

概念页按领域分类存入 concepts/ 下的子目录,禁止平铺:

concepts/
├── kubernetes/   # K8s 集群、Pod、Service、存储、调度
├── linux/        # Linux 系统与内核、性能分析、安全加固
├── nginx/        # Nginx 反向代理配置与排障
├── database/     # MySQL + Redis 数据库
├── docker/       # Docker 容器化与镜像
├── amazon/       # 电商运营与广告
├── hardware/     # 无线网络与硬件
├── terraform/    # Terraform 基础设施即代码
└── general/      # 跨领域/综合性内容

归类优先规则:

  1. 文件名前缀优先(k8s-*kubernetes/linux-*linux/
  2. 无明确前缀按 tags 中 domain 级标签归类
  3. 跨 3+ 领域的综合性内容放 general/
  4. 新建概念页前确认已有对应子目录;如需新增子目录,先更新本文件再创建

Frontmatter

---
title: Page Title
created: YYYY-MM-DD
updated: YYYY-MM-DD
type: entity | concept | comparison | query | summary
tags: [kubernetes, troubleshooting, ...]
sources: [raw/articles/k8s-troubleshooting-article.md]
confidence: high | medium | low
contested: true
contradictions: [other-page-slug]
---

raw/ Frontmatter

---
source_url: https://...
ingested: YYYY-MM-DD
sha256: <hex digest of the body content>
---

Tag Taxonomy

核心域:

  • tcp: TCP 协议与连接排查
  • kubernetes: 核心 K8s 概念
  • scheduling: Pod 调度策略与机制
  • troubleshooting: 排障相关
  • production: 生产环境
  • deployment: 部署相关
  • networking: 网络相关
  • nfs: NFS 网络文件系统
  • storage: 存储相关
  • security: 安全/RBAC/权限
  • incident-response: 入侵应急响应与取证
  • monitoring: 监控与日志
  • linux: Linux 系统与内核
  • performance: 性能分析与优化
  • java: Java 应用层排障
  • jvm: JVM 调优与 GC 分析
  • cni: CNI 网络插件(Flannel/Calico)
  • dns: DNS 解析/CoreDNS
  • certificate: 证书管理与 TLS
  • messaging: 消息队列/Kafka/RocketMQ

工作负载:

  • pod: Pod 相关
  • service: Service/网络
  • node: Node 相关
  • statefulset: 有状态应用
  • daemonset: DaemonSet

资源对象:

  • configmap: ConfigMap/Secret
  • pvc: 持久化存储
  • ingress: Ingress/入口
  • hpa: 自动伸缩

方法论:

  • methodology: 排查方法论与操作流程
  • sre: SRE 站点可靠性工程实践

运维工具:

  • kubectl: kubectl 命令
  • debugging: 调试工具与方法
  • automation: 自动化脚本与工具
  • disk: 磁盘管理工具
  • filesystem: 文件系统
  • case-study: 实战案例分析
  • command: Linux 命令与工具用法
  • compression: 压缩与解压技术
  • tar: tar 归档工具
  • gzip: gzip 压缩工具
  • archive: 归档与备份策略
  • iptables: iptables 防火墙规则与排障
  • ssh: SSH 密钥/认证与连接配置
  • logrotate: 日志轮转(logrotate/journald/kubelet 容器日志)

数据库:

  • redis: Redis 内存数据库
  • mysql: MySQL 数据库
  • database: 数据库通用
  • persistence: 数据持久化
  • backup: 备份恢复
  • data-loss: 数据丢失与容灾
  • deadlock: 死锁分析
  • lock: 锁机制详解
  • replication: 复制机制
  • sentinel: Redis Sentinel 哨兵
  • memory: 内存管理与优化

容器化:

  • docker: Docker 容器与镜像
  • container: 容器技术通用
  • image: 镜像构建/优化
  • build: 构建与 CI
  • multistage: 多阶段构建
  • golang: Go 语言编译/部署

微服务:

  • microservices: 微服务架构
  • service-discovery: 服务发现
  • nacos: Nacos 注册中心/配置中心
  • zookeeper: Zookeeper 分布式协调
  • consul: Consul 服务目录
  • architecture: 架构设计与选型

负载均衡与高可用:

  • nginx: Nginx 反向代理与配置
  • websocket: WebSocket 协议与代理
  • sse: Server-Sent Events 实时推送
  • keepalived: Keepalived 高可用管理
  • ha: 高可用架构
  • high-availability: 高可用架构(全称)
  • load-balancing: 负载均衡

电商运营与广告:

  • amazon: 亚马逊平台运营
  • advertising: 广告投放策略
  • ecommerce: 电商运营
  • ppc: PPC 广告竞价
  • brand: 品牌建设与推广
  • search-terms: Search Terms 后台关键词优化

工具推荐:

  • tools: 工具推荐与评测
  • opensource: 开源项目

无线网络与硬件:

  • wifi: Wi-Fi 6/7 路由器性能调优

基础设施即代码 (IaC):

  • terraform: Terraform 基础设施即代码
  • iac: 基础设施即代码通用概念
  • devops: DevOps 工具链与平台工程
  • cicd: CI/CD 流水线持续集成与持续部署

Page Thresholds

  • Create a page when an entity/concept appears in 2+ sources OR is central to one source
  • Add to existing page when a source mentions something already covered
  • DON'T create a page for passing mentions, minor details, or things outside the domain
  • Split a page when it exceeds ~200 lines — break into sub-topics with cross-links
  • Exemption — a single-source complete manual/framework page may exceed ~200 lines when its entries are independently scannable and duplicated content links to existing deep pages via wikilinks (2026-08-31: k8s-troubleshooting-survival-rules, 342 lines)
  • Archive a page when its content is fully superseded — move to _archive/, remove from index

Entity Pages

One page per notable entity (tool, controller, resource type). Include:

  • Overview / what it is
  • Key facts and common issues
  • Relationships to other entities (wikilinks)
  • Source references

Concept Pages

一篇用户能直接看、能直接参考的实践指南(用户不会回看 raw,概念页即最终交付物)。保留原文的叙事性、具体案例、配置示例和踩坑故事。 概念页不是结构化摘要——评判标准是"用户能否直接照着操作",指导性内容尽量全保留:

  • 操作步骤、规则、校验标准、数值/日期 → 100% 保留,一条都不能丢
  • 案例推演、示例数据 → 100% 保留(用户靠案例理解机制)
  • 踩坑点、注意事项 → 100% 保留
  • 仅压缩:背景铺垫、营销话术、重复表达(字节压缩率参考 70%-90%,但信息量是硬标准,宁可多不可漏)

Include:

  • Definition / explanation
  • Common failure patterns
  • Troubleshooting steps
  • Related concepts (wikilinks)
  • 保留至少 1 个原文完整案例(背景/过程/结果/真实数据)
  • 最终交付物应当让用户读了能学到东西、能直接用到工作中

Comparison Pages

Side-by-side analyses. Include:

  • What is being compared and why
  • Dimensions of comparison (table format preferred)
  • Verdict or synthesis
  • Sources

Update Policy

When new information conflicts with existing content:

  1. Check the dates — newer sources generally supersede older ones
  2. If genuinely contradictory, note both positions with dates and sources
  3. Mark the contradiction in frontmatter: contradictions: [page-name]
  4. Flag for user review in the lint report