[{"data":1,"prerenderedAt":4654},["ShallowReactive",2],{"navigation":3,"/document/kubernetes/guide/pod":2685,"/document/kubernetes/guide/pod-surround":4649},[4],{"title":5,"path":6,"stem":7,"children":8,"page":50},"Document","/document","document",[9,51,118,150,207,263,307,343,363,403,447,479,518,558,585,609,633,665,700,731,762,794,831,863,899,929,964,1000,1036,1075,1145,1233,1265,1296,1327,1355,1432,1472,1504,1544,1581,1613,1645,1742,1828,1901,1959,2101,2155,2194,2263,2317,2391,2462,2502,2560,2622],{"title":10,"path":11,"stem":12,"children":13,"page":50},"Html5","/document/html5","document/01.html5",[14,42],{"title":15,"path":16,"stem":17,"children":18,"icon":41},"指南","/document/html5/guide","document/01.html5/01.guide/01.index",[19,21,25,29,33,37],{"title":20,"path":16,"stem":17},"HTML 入门教程",{"title":22,"path":23,"stem":24},"常用标签详解","/document/html5/guide/tag","document/01.html5/01.guide/02.tag",{"title":26,"path":27,"stem":28},"布局与语义标签","/document/html5/guide/layout","document/01.html5/01.guide/03.layout",{"title":30,"path":31,"stem":32},"表单设计与用户输入","/document/html5/guide/form","document/01.html5/01.guide/04.form",{"title":34,"path":35,"stem":36},"多媒体与 HTML5 新特性","/document/html5/guide/html5","document/01.html5/01.guide/05.html5",{"title":38,"path":39,"stem":40},"Web 标准与 HTML 编写规范","/document/html5/guide/web","document/01.html5/01.guide/06.web","i-lucide-code",{"title":43,"path":44,"stem":45,"children":46,"icon":49},"考核","/document/html5/examine","document/01.html5/02.examine/01.index",[47],{"title":48,"path":44,"stem":45},"接下来对你进行考核","i-lucide-clipboard-check",false,{"title":52,"path":53,"stem":54,"children":55,"page":50},"Css","/document/css","document/02.css",[56,75,100,113],{"title":57,"path":58,"stem":59,"children":60,"icon":50},"启航","/document/css/guide","document/02.css/01.guide/01.index",[61,63,67,71],{"title":62,"path":58,"stem":59},"CSS 基础入门教程",{"title":64,"path":65,"stem":66},"文本与盒子样式详解","/document/css/guide/styles","document/02.css/01.guide/02.styles",{"title":68,"path":69,"stem":70},"选择器与权重机制","/document/css/guide/selected","document/02.css/01.guide/03.selected",{"title":72,"path":73,"stem":74},"盒模型详解","/document/css/guide/box","document/02.css/01.guide/04.box",{"title":76,"icon":50,"path":77,"stem":78,"children":79,"page":50},"布局","/document/css/layout","document/02.css/02.layout",[80,84,88,92,96],{"title":81,"path":82,"stem":83},"网页布局三剑客详解","/document/css/layout/policy","document/02.css/02.layout/01.policy",{"title":85,"path":86,"stem":87},"Position 定位详解","/document/css/layout/position","document/02.css/02.layout/02.position",{"title":89,"path":90,"stem":91},"Flexbox 布局入门指南","/document/css/layout/flex","document/02.css/02.layout/03.flex",{"title":93,"path":94,"stem":95},"Grid 布局入门指南","/document/css/layout/grid","document/02.css/02.layout/04.grid",{"title":97,"path":98,"stem":99},"响应式设计指南","/document/css/layout/relative","document/02.css/02.layout/05.relative",{"title":101,"icon":50,"path":102,"stem":103,"children":104,"page":50},"使用技巧","/document/css/skill","document/02.css/03.skill",[105,109],{"title":106,"path":107,"stem":108},"CSS 动画全解析","/document/css/skill/animation","document/02.css/03.skill/01.animation",{"title":110,"path":111,"stem":112},"CSS 使用技巧全攻略","/document/css/skill/skill","document/02.css/03.skill/02.skill",{"title":43,"path":114,"stem":115,"children":116,"icon":49},"/document/css/examine","document/02.css/04.examine/01.index",[117],{"title":48,"path":114,"stem":115},{"title":119,"path":120,"stem":121,"children":122,"page":50},"Git","/document/git","document/03.git",[123,145],{"title":57,"path":124,"stem":125,"children":126,"icon":50},"/document/git/guide","document/03.git/01.guide/01.index",[127,129,133,137,141],{"title":128,"path":124,"stem":125},"Git 入门指南",{"title":130,"path":131,"stem":132},"Git 安装与初体验","/document/git/guide/install","document/03.git/01.guide/02.install",{"title":134,"path":135,"stem":136},"常用 Git 命令详解","/document/git/guide/command","document/03.git/01.guide/03.command",{"title":138,"path":139,"stem":140},"Git 分支管理全解析","/document/git/guide/branch","document/03.git/01.guide/04.branch",{"title":142,"path":143,"stem":144},"使用 GitHub 轻松托管和管理代码","/document/git/guide/github","document/03.git/01.guide/05.github",{"title":43,"path":146,"stem":147,"children":148,"icon":49},"/document/git/examine","document/03.git/02.examine/01.index",[149],{"title":48,"path":146,"stem":147},{"title":151,"path":152,"stem":153,"children":154,"page":50},"Js Base","/document/js-base","document/04.js-base",[155,185,202],{"title":15,"path":156,"stem":157,"children":158,"icon":41},"/document/js-base/guide","document/04.js-base/01.guide/01.index",[159,161,165,169,173,177,181],{"title":160,"path":156,"stem":157},"JavaScript 基础快速入门",{"title":162,"path":163,"stem":164},"搞懂变量与数据类型","/document/js-base/guide/variable","document/04.js-base/01.guide/02.variable",{"title":166,"path":167,"stem":168},"JavaScript 运算符详解","/document/js-base/guide/operator","document/04.js-base/01.guide/03.operator",{"title":170,"path":171,"stem":172},"条件判断与循环语句","/document/js-base/guide/flow","document/04.js-base/01.guide/04.flow",{"title":174,"path":175,"stem":176},"深入理解 JavaScript 函数","/document/js-base/guide/function","document/04.js-base/01.guide/05.function",{"title":178,"path":179,"stem":180},"对象数组的创建与操作","/document/js-base/guide/object","document/04.js-base/01.guide/06.object",{"title":182,"path":183,"stem":184},"Math 和 Date 用法详解","/document/js-base/guide/math","document/04.js-base/01.guide/07.math",{"title":186,"icon":41,"path":187,"stem":188,"children":189,"page":50},"浏览器","/document/js-base/browser","document/04.js-base/02.browser",[190,194,198],{"title":191,"path":192,"stem":193},"DOM 操作入门与实战","/document/js-base/browser/dom","document/04.js-base/02.browser/01.dom",{"title":195,"path":196,"stem":197},"浏览器 BOM 基础知识","/document/js-base/browser/bom","document/04.js-base/02.browser/02.bom",{"title":199,"path":200,"stem":201},"JavaScript 事件处理机制","/document/js-base/browser/event","document/04.js-base/02.browser/03.event",{"title":43,"path":203,"stem":204,"children":205,"icon":49},"/document/js-base/examine","document/04.js-base/03.examine/01.index",[206],{"title":48,"path":203,"stem":204},{"title":208,"path":209,"stem":210,"children":211,"page":50},"Js Advanced","/document/js-advanced","document/05.js-advanced",[212,231,249],{"title":213,"path":214,"stem":215,"children":216,"icon":41},"JavaScript 原理","/document/js-advanced/guide","document/05.js-advanced/01.guide/01.index",[217,219,223,227],{"title":218,"path":214,"stem":215},"JavaScript 是怎么运行的？",{"title":220,"path":221,"stem":222},"深入理解函数和作用域","/document/js-advanced/guide/function","document/05.js-advanced/01.guide/02.function",{"title":224,"path":225,"stem":226},"深入理解 this 指向","/document/js-advanced/guide/this","document/05.js-advanced/01.guide/03.this",{"title":228,"path":229,"stem":230},"浅拷贝与深拷贝详解","/document/js-advanced/guide/copy","document/05.js-advanced/01.guide/04.copy",{"title":232,"icon":233,"path":234,"stem":235,"children":236,"page":50},"编程范式","i-lucide-shapes","/document/js-advanced/program","document/05.js-advanced/02.program",[237,241,245],{"title":238,"path":239,"stem":240},"面向对象编程（OOP）","/document/js-advanced/program/object","document/05.js-advanced/02.program/01.object",{"title":242,"path":243,"stem":244},"函数式编程入门","/document/js-advanced/program/fp","document/05.js-advanced/02.program/02.fp",{"title":246,"path":247,"stem":248},"防抖和节流详解","/document/js-advanced/program/debounce","document/05.js-advanced/02.program/03.debounce",{"title":250,"icon":251,"path":252,"stem":253,"children":254,"page":50},"浏览器相关特性","i-lucide-monitor","/document/js-advanced/browser","document/05.js-advanced/03.browser",[255,259],{"title":256,"path":257,"stem":258},"浏览器缓存入门指南","/document/js-advanced/browser/cache","document/05.js-advanced/03.browser/01.cache",{"title":260,"path":261,"stem":262},"Web 存储机制深度剖析","/document/js-advanced/browser/storage","document/05.js-advanced/03.browser/02.storage",{"title":264,"path":265,"stem":266,"children":267,"page":50},"Es6","/document/es6","document/06.es6",[268,302],{"title":213,"path":269,"stem":270,"children":271,"icon":41},"/document/es6/guide","document/06.es6/01.guide/01.index",[272,274,278,282,286,290,294,298],{"title":273,"path":269,"stem":270},"ES6 入门指南",{"title":275,"path":276,"stem":277},"变量声明：let 与 const","/document/es6/guide/const","document/06.es6/01.guide/02.const",{"title":279,"path":280,"stem":281},"箭头函数的用法与特点","/document/es6/guide/arrow","document/06.es6/01.guide/03.arrow",{"title":283,"path":284,"stem":285},"字符串、对象与数组的新特性","/document/es6/guide/enhance","document/06.es6/01.guide/04.enhance",{"title":287,"path":288,"stem":289},"Map 和 Set 的使用方式","/document/es6/guide/set","document/06.es6/01.guide/05.set",{"title":291,"path":292,"stem":293},"Promise 实现异步流程控制","/document/es6/guide/promise","document/06.es6/01.guide/06.promise",{"title":295,"path":296,"stem":297},"ESM 模块化语法解析","/document/es6/guide/esm","document/06.es6/01.guide/07.esm",{"title":299,"path":300,"stem":301},"Class 的定义与继承机制","/document/es6/guide/class","document/06.es6/01.guide/08.class",{"title":43,"path":303,"stem":304,"children":305,"icon":49},"/document/es6/examine","document/06.es6/02.examine/01.index",[306],{"title":48,"path":303,"stem":304},{"title":308,"path":309,"stem":310,"children":311,"page":50},"Js Algorithms","/document/js-algorithms","document/07.js-algorithms",[312,338],{"title":15,"path":313,"stem":314,"children":315,"icon":41},"/document/js-algorithms/guide","document/07.js-algorithms/01.guide/01.index",[316,318,322,326,330,334],{"title":317,"path":313,"stem":314},"什么是数据结构和算法？",{"title":319,"path":320,"stem":321},"时间和空间复杂度","/document/js-algorithms/guide/complexity","document/07.js-algorithms/01.guide/02.complexity",{"title":323,"path":324,"stem":325},"数据结构","/document/js-algorithms/guide/structure","document/07.js-algorithms/01.guide/03.structure",{"title":327,"path":328,"stem":329},"算法","/document/js-algorithms/guide/algorithms","document/07.js-algorithms/01.guide/04.algorithms",{"title":331,"path":332,"stem":333},"算法思想","/document/js-algorithms/guide/heuristic","document/07.js-algorithms/01.guide/05.heuristic",{"title":335,"path":336,"stem":337},"深度优先与广度优先搜索","/document/js-algorithms/guide/search","document/07.js-algorithms/01.guide/06.search",{"title":43,"path":339,"stem":340,"children":341,"icon":49},"/document/js-algorithms/examine","document/07.js-algorithms/02.examine/01.index",[342],{"title":48,"path":339,"stem":340},{"title":344,"path":345,"stem":346,"children":347,"page":50},"Automation","/document/automation","document/08.automation",[348,358],{"title":15,"path":349,"stem":350,"children":351,"icon":41},"/document/automation/guide","document/08.automation/01.guide/01.index",[352,354],{"title":353,"path":349,"stem":350},"什么是前端工程化？",{"title":355,"path":356,"stem":357},"开始搭建工程化项目","/document/automation/guide/start","document/08.automation/01.guide/02.start",{"title":43,"path":359,"stem":360,"children":361,"icon":49},"/document/automation/examine","document/08.automation/02.examine/01.index",[362],{"title":48,"path":359,"stem":360},{"title":364,"path":365,"stem":366,"children":367,"page":50},"Webpack","/document/webpack","document/09.webpack",[368,398],{"title":15,"path":369,"stem":370,"children":371,"icon":41},"/document/webpack/guide","document/09.webpack/01.guide/01.index",[372,374,378,382,386,390,394],{"title":373,"path":369,"stem":370},"Webpack 初识",{"title":375,"path":376,"stem":377},"搭建 Webpack 项目","/document/webpack/guide/start","document/09.webpack/01.guide/02.start",{"title":379,"path":380,"stem":381},"Loader 加载器","/document/webpack/guide/loader","document/09.webpack/01.guide/03.loader",{"title":383,"path":384,"stem":385},"Plugin 插件","/document/webpack/guide/plugin","document/09.webpack/01.guide/04.plugin",{"title":387,"path":388,"stem":389},"HMR 热更新与开发模式","/document/webpack/guide/dev","document/09.webpack/01.guide/05.dev",{"title":391,"path":392,"stem":393},"性能优化配置","/document/webpack/guide/optimize","document/09.webpack/01.guide/06.optimize",{"title":395,"path":396,"stem":397},"webpack 生产环境构建全攻略","/document/webpack/guide/production","document/09.webpack/01.guide/07.production",{"title":43,"path":399,"stem":400,"children":401,"icon":49},"/document/webpack/examine","document/09.webpack/02.examine/01.index",[402],{"title":48,"path":399,"stem":400},{"title":404,"path":405,"stem":406,"children":407,"page":50},"Scss","/document/scss","document/10.scss",[408,442],{"title":15,"path":409,"stem":410,"children":411,"icon":41},"/document/scss/guide","document/10.scss/01.guide/01.index",[412,414,418,422,426,430,434,438],{"title":413,"path":409,"stem":410},"什么是 SCSS？",{"title":415,"path":416,"stem":417},"SCSS 入门语法基础","/document/scss/guide/syntax","document/10.scss/01.guide/02.syntax",{"title":419,"path":420,"stem":421},"开始编写 Scss 项目","/document/scss/guide/start","document/10.scss/01.guide/03.start",{"title":423,"path":424,"stem":425},"Scss 模块导入方式","/document/scss/guide/import","document/10.scss/01.guide/04.import",{"title":427,"path":428,"stem":429},"Mixin 与函数详解","/document/scss/guide/mixin","document/10.scss/01.guide/05.mixin",{"title":431,"path":432,"stem":433},"Scss 继承、占位符技巧","/document/scss/guide/extend","document/10.scss/01.guide/06.extend",{"title":435,"path":436,"stem":437},"SCSS 流程控制与逻辑语法","/document/scss/guide/flow","document/10.scss/01.guide/07.flow",{"title":439,"path":440,"stem":441},"SCSS 内置函数","/document/scss/guide/function","document/10.scss/01.guide/08.function",{"title":43,"path":443,"stem":444,"children":445,"icon":49},"/document/scss/examine","document/10.scss/02.examine/01.index",[446],{"title":48,"path":443,"stem":444},{"title":448,"path":449,"stem":450,"children":451,"page":50},"Eslint","/document/eslint","document/11.eslint",[452,474],{"title":15,"path":453,"stem":454,"children":455,"icon":41},"/document/eslint/guide","document/11.eslint/01.guide/01.index",[456,458,462,466,470],{"title":457,"path":453,"stem":454},"ESLint 是什么？",{"title":459,"path":460,"stem":461},"ESLint 安装与运行详解","/document/eslint/guide/install","document/11.eslint/01.guide/02.install",{"title":463,"path":464,"stem":465},"ESLint  规则介绍","/document/eslint/guide/rule","document/11.eslint/01.guide/03.rule",{"title":467,"path":468,"stem":469},"集成 ESLint 到 Webpack","/document/eslint/guide/webpack","document/11.eslint/01.guide/04.webpack",{"title":471,"path":472,"stem":473},"Plugins 和 Extends 使用","/document/eslint/guide/plugins","document/11.eslint/01.guide/05.plugins",{"title":43,"path":475,"stem":476,"children":477,"icon":49},"/document/eslint/examine","document/11.eslint/02.examine/01.index",[478],{"title":48,"path":475,"stem":476},{"title":480,"path":481,"stem":482,"children":483,"page":50},"Axios","/document/axios","document/12.axios",[484,494,513],{"title":15,"path":485,"stem":486,"children":487,"icon":41},"/document/axios/guide","document/12.axios/01.guide/01.index",[488,490],{"title":489,"path":485,"stem":486},"HTTP 协议与网络请求",{"title":491,"path":492,"stem":493},"使用 JavaScript 发起请求","/document/axios/guide/get","document/12.axios/01.guide/02.get",{"title":495,"path":496,"stem":497,"children":498,"icon":41},"axios 插件","/document/axios/axios","document/12.axios/02.axios/01.index",[499,501,505,509],{"title":500,"path":496,"stem":497},"Axios 入门",{"title":502,"path":503,"stem":504},"Axios 请求基础全面讲解","/document/axios/axios/start","document/12.axios/02.axios/02.start",{"title":506,"path":507,"stem":508},"Axios 高级使用技巧","/document/axios/axios/advenced","document/12.axios/02.axios/03.advenced",{"title":510,"path":511,"stem":512},"CORS 跨域解决方案","/document/axios/axios/cors","document/12.axios/02.axios/04.cors",{"title":43,"path":514,"stem":515,"children":516,"icon":49},"/document/axios/examine","document/12.axios/03.examine/01.index",[517],{"title":48,"path":514,"stem":515},{"title":519,"path":520,"stem":521,"children":522,"page":50},"Typescript","/document/typescript","document/13.typescript",[523,553],{"title":15,"path":524,"stem":525,"children":526,"icon":41},"/document/typescript/guide","document/13.typescript/01.guide/01.index",[527,529,533,537,541,545,549],{"title":528,"path":524,"stem":525},"TypeScript 简介与入门",{"title":530,"path":531,"stem":532},"类型系统基础","/document/typescript/guide/base","document/13.typescript/01.guide/02.base",{"title":534,"path":535,"stem":536},"类型组合与类型保护","/document/typescript/guide/compose","document/13.typescript/01.guide/03.compose",{"title":538,"path":539,"stem":540},"类与面向对象编程","/document/typescript/guide/class","document/13.typescript/01.guide/04.class",{"title":542,"path":543,"stem":544},"泛型与类型复用","/document/typescript/guide/generic","document/13.typescript/01.guide/05.generic",{"title":546,"path":547,"stem":548},"项目进阶与配置实战","/document/typescript/guide/config","document/13.typescript/01.guide/06.config",{"title":550,"path":551,"stem":552},"第三方库类型支持与声明","/document/typescript/guide/declare","document/13.typescript/01.guide/07.declare",{"title":43,"path":554,"stem":555,"children":556,"icon":49},"/document/typescript/examine","document/13.typescript/02.examine/01.index",[557],{"title":48,"path":554,"stem":555},{"title":559,"path":560,"stem":561,"children":562,"page":50},"Vue2","/document/vue2","document/14.vue2",[563],{"title":15,"path":564,"stem":565,"children":566,"icon":41},"/document/vue2/guide","document/14.vue2/01.guide/01.index",[567,569,573,577,581],{"title":568,"path":564,"stem":565},"Vue 2 入门与安装",{"title":570,"path":571,"stem":572},"模板语法与指令详解","/document/vue2/guide/directive","document/14.vue2/01.guide/02.directive",{"title":574,"path":575,"stem":576},"组件化开发基础","/document/vue2/guide/component","document/14.vue2/01.guide/03.component",{"title":578,"path":579,"stem":580},"计算属性与监听器","/document/vue2/guide/reactive","document/14.vue2/01.guide/04.reactive",{"title":582,"path":583,"stem":584},"生命周期钩子解析","/document/vue2/guide/hooks","document/14.vue2/01.guide/05.hooks",{"title":586,"path":587,"stem":588,"children":589,"page":50},"Router","/document/router","document/15.router",[590],{"title":591,"path":592,"stem":593,"children":594,"icon":41},"Vue Router 路由","/document/router/guide","document/15.router/01.guide/01.index",[595,597,601,605],{"title":596,"path":592,"stem":593},"Vue Router 入门",{"title":598,"path":599,"stem":600},"路由核心功能详解","/document/router/guide/routing","document/15.router/01.guide/02.routing",{"title":602,"path":603,"stem":604},"路由守卫钩子和元信息","/document/router/guide/hook","document/15.router/01.guide/03.hook",{"title":606,"path":607,"stem":608},"路由优化与懒加载","/document/router/guide/optimize","document/15.router/01.guide/04.optimize",{"title":610,"path":611,"stem":612,"children":613,"page":50},"Vuex","/document/vuex","document/16.vuex",[614],{"title":615,"path":616,"stem":617,"children":618,"icon":41},"Vuex 状态管理器","/document/vuex/guide","document/16.vuex/01.guide/01.index",[619,621,625,629],{"title":620,"path":616,"stem":617},"为什么要使用 Vuex？",{"title":622,"path":623,"stem":624},"快速上手 Vuex","/document/vuex/guide/start","document/16.vuex/01.guide/02.start",{"title":626,"path":627,"stem":628},"深入理解 Vuex 核心功能","/document/vuex/guide/core","document/16.vuex/01.guide/03.core",{"title":630,"path":631,"stem":632},"模块化与进阶用法","/document/vuex/guide/module","document/16.vuex/01.guide/04.module",{"title":634,"path":635,"stem":636,"children":637,"page":50},"Element Ui","/document/element-ui","document/17.element-ui",[638],{"title":639,"path":640,"stem":641,"children":642,"icon":41},"Element UI 组件库","/document/element-ui/guide","document/17.element-ui/01.guide/01.index",[643,645,649,653,657,661],{"title":644,"path":640,"stem":641},"Element UI 初体验",{"title":646,"path":647,"stem":648},"常用组件快速上手","/document/element-ui/guide/quickstart","document/17.element-ui/01.guide/02.quickstart",{"title":650,"path":651,"stem":652},"布局与结构类组件","/document/element-ui/guide/layout","document/17.element-ui/01.guide/03.layout",{"title":654,"path":655,"stem":656},"自定义组件样式","/document/element-ui/guide/style","document/17.element-ui/01.guide/04.style",{"title":658,"path":659,"stem":660},"组件封装与复用","/document/element-ui/guide/component","document/17.element-ui/01.guide/05.component",{"title":662,"path":663,"stem":664},"自定义主题色与深色模式","/document/element-ui/guide/theme","document/17.element-ui/01.guide/06.theme",{"title":666,"path":667,"stem":668,"children":669,"page":50},"Vue3","/document/vue3","document/18.vue3",[670],{"title":666,"path":671,"stem":672,"children":673,"icon":41},"/document/vue3/guide","document/18.vue3/01.guide/01.index",[674,676,680,684,688,692,696],{"title":675,"path":671,"stem":672},"Vue 3 概览与生态升级",{"title":677,"path":678,"stem":679},"组合式 API 入门指南","/document/vue3/guide/composition","document/18.vue3/01.guide/02.composition",{"title":681,"path":682,"stem":683},"组合式 API 逻辑抽离","/document/vue3/guide/composable","document/18.vue3/01.guide/03.composable",{"title":685,"path":686,"stem":687},"模板语法及新特性","/document/vue3/guide/features","document/18.vue3/01.guide/04.features",{"title":689,"path":690,"stem":691},"TypeScript 开发支持","/document/vue3/guide/typescript","document/18.vue3/01.guide/05.typescript",{"title":693,"path":694,"stem":695},"响应式系统原理与进阶 API","/document/vue3/guide/reactive","document/18.vue3/01.guide/06.reactive",{"title":697,"path":698,"stem":699},"Vue Router 4 路由实战","/document/vue3/guide/vue-router","document/18.vue3/01.guide/07.vue-router",{"title":701,"path":702,"stem":703,"children":704,"page":50},"Pinia","/document/pinia","document/19.pinia",[705],{"title":701,"path":706,"stem":707,"children":708,"icon":41},"/document/pinia/guide","document/19.pinia/01.guide/01.index",[709,711,715,719,723,727],{"title":710,"path":706,"stem":707},"Pinia 简介与安装",{"title":712,"path":713,"stem":714},"Store 三大核心","/document/pinia/guide/store","document/19.pinia/01.guide/02.store",{"title":716,"path":717,"stem":718},"在组件中使用 Store","/document/pinia/guide/usage","document/19.pinia/01.guide/03.usage",{"title":720,"path":721,"stem":722},"State 修改与响应式细节","/document/pinia/guide/state","document/19.pinia/01.guide/04.state",{"title":724,"path":725,"stem":726},"Action 与异步操作","/document/pinia/guide/action","document/19.pinia/01.guide/05.action",{"title":728,"path":729,"stem":730},"组合、TypeScript 与插件","/document/pinia/guide/advanced","document/19.pinia/01.guide/06.advanced",{"title":732,"path":733,"stem":734,"children":735,"page":50},"Vite","/document/vite","document/20.vite",[736],{"title":732,"path":737,"stem":738,"children":739,"icon":41},"/document/vite/guide","document/20.vite/01.guide/01.index",[740,742,746,750,754,758],{"title":741,"path":737,"stem":738},"Vite 简介与安装",{"title":743,"path":744,"stem":745},"基础配置","/document/vite/guide/config","document/20.vite/01.guide/02.config",{"title":747,"path":748,"stem":749},"常用插件","/document/vite/guide/plugins","document/20.vite/01.guide/03.plugins",{"title":751,"path":752,"stem":753},"环境变量与模式","/document/vite/guide/env","document/20.vite/01.guide/04.env",{"title":755,"path":756,"stem":757},"依赖预构建","/document/vite/guide/optimize-deps","document/20.vite/01.guide/05.optimize-deps",{"title":759,"path":760,"stem":761},"构建与部署","/document/vite/guide/build-deploy","document/20.vite/01.guide/06.build-deploy",{"title":763,"path":764,"stem":765,"children":766,"page":50},"Nuxt","/document/nuxt","document/21.nuxt",[767],{"title":768,"path":769,"stem":770,"children":771,"icon":41},"Nuxt.js","/document/nuxt/guide","document/21.nuxt/01.guide/01.index",[772,774,778,782,786,790],{"title":773,"path":769,"stem":770},"Nuxt.js 简介与安装",{"title":775,"path":776,"stem":777},"目录约定与自动导入","/document/nuxt/guide/directory-and-auto-imports","document/21.nuxt/01.guide/02.directory-and-auto-imports",{"title":779,"path":780,"stem":781},"文件路由与导航","/document/nuxt/guide/routing","document/21.nuxt/01.guide/03.routing",{"title":783,"path":784,"stem":785},"数据获取","/document/nuxt/guide/data-fetching","document/21.nuxt/01.guide/04.data-fetching",{"title":787,"path":788,"stem":789},"状态管理","/document/nuxt/guide/state-management","document/21.nuxt/01.guide/05.state-management",{"title":791,"path":792,"stem":793},"配置与部署","/document/nuxt/guide/config-and-deploy","document/21.nuxt/01.guide/06.config-and-deploy",{"title":795,"path":796,"stem":797,"children":798,"page":50},"Npm","/document/npm","document/22.npm",[799],{"title":800,"path":801,"stem":802,"children":803,"icon":830},"NPM","/document/npm/guide","document/22.npm/01.guide/01.index",[804,806,810,814,818,822,826],{"title":805,"path":801,"stem":802},"NPM 入门",{"title":807,"path":808,"stem":809},"package.json 详解","/document/npm/guide/package-json","document/22.npm/01.guide/02.package-json",{"title":811,"path":812,"stem":813},"安装命令与版本","/document/npm/guide/install-commands","document/22.npm/01.guide/03.install-commands",{"title":815,"path":816,"stem":817},"scripts 与 npx","/document/npm/guide/scripts-and-npx","document/22.npm/01.guide/04.scripts-and-npx",{"title":819,"path":820,"stem":821},"发布包与镜像源","/document/npm/guide/publish-and-registry","document/22.npm/01.guide/05.publish-and-registry",{"title":823,"path":824,"stem":825},"lock 文件与清理","/document/npm/guide/lock-and-clean","document/22.npm/01.guide/06.lock-and-clean",{"title":827,"path":828,"stem":829},"Yarn 与 pnpm","/document/npm/guide/yarn-and-pnpm","document/22.npm/01.guide/07.yarn-and-pnpm","i-simple-icons-npm",{"title":832,"icon":833,"path":834,"stem":835,"children":836,"page":50},"Handlebars","i-simple-icons-handlebarsdotjs","/document/handlebars","document/23.handlebars",[837],{"title":838,"path":839,"stem":840,"children":841},"Handlebars 简介","/document/handlebars/guide","document/23.handlebars/01.guide/01.index",[842,843,847,851,855,859],{"title":838,"path":839,"stem":840},{"title":844,"path":845,"stem":846},"基本语法","/document/handlebars/guide/syntax","document/23.handlebars/01.guide/02.syntax",{"title":848,"path":849,"stem":850},"内置辅助函数","/document/handlebars/guide/builtins","document/23.handlebars/01.guide/03.builtins",{"title":852,"path":853,"stem":854},"模板复用","/document/handlebars/guide/partials","document/23.handlebars/01.guide/04.partials",{"title":856,"path":857,"stem":858},"自定义 Helpers","/document/handlebars/guide/helpers","document/23.handlebars/01.guide/05.helpers",{"title":860,"path":861,"stem":862},"预编译与运行时","/document/handlebars/guide/runtime","document/23.handlebars/01.guide/06.runtime",{"title":864,"icon":865,"path":866,"stem":867,"children":868,"page":50},"Plop","i-simple-icons-nodedotjs","/document/plop","document/24.plop",[869],{"title":870,"path":871,"stem":872,"children":873},"Plop 简介","/document/plop/guide","document/24.plop/01.guide/01.index",[874,875,879,883,887,891,895],{"title":870,"path":871,"stem":872},{"title":876,"path":877,"stem":878},"第一个生成器","/document/plop/guide/plopfile","document/24.plop/01.guide/02.plopfile",{"title":880,"path":881,"stem":882},"交互式询问","/document/plop/guide/prompts","document/24.plop/01.guide/03.prompts",{"title":884,"path":885,"stem":886},"核心动作","/document/plop/guide/actions","document/24.plop/01.guide/04.actions",{"title":888,"path":889,"stem":890},"模板文件组织","/document/plop/guide/templates","document/24.plop/01.guide/05.templates",{"title":892,"path":893,"stem":894},"Helper 扩展","/document/plop/guide/helpers","document/24.plop/01.guide/06.helpers",{"title":896,"path":897,"stem":898},"组件生成实战","/document/plop/guide/practice","document/24.plop/01.guide/07.practice",{"title":900,"icon":901,"path":902,"stem":903,"children":904,"page":50},"Rollup","i-simple-icons-rollupdotjs","/document/rollup","document/25.rollup",[905],{"title":906,"path":907,"stem":908,"children":909},"Rollup 简介","/document/rollup/guide","document/25.rollup/01.guide/01.index",[910,911,914,918,921,925],{"title":906,"path":907,"stem":908},{"title":743,"path":912,"stem":913},"/document/rollup/guide/config","document/25.rollup/01.guide/02.config",{"title":915,"path":916,"stem":917},"输出格式","/document/rollup/guide/formats","document/25.rollup/01.guide/03.formats",{"title":747,"path":919,"stem":920},"/document/rollup/guide/plugins","document/25.rollup/01.guide/04.plugins",{"title":922,"path":923,"stem":924},"Tree Shaking","/document/rollup/guide/tree-shaking","document/25.rollup/01.guide/05.tree-shaking",{"title":926,"path":927,"stem":928},"打包工具库实战","/document/rollup/guide/library","document/25.rollup/01.guide/06.library",{"title":930,"icon":865,"path":931,"stem":932,"children":933,"page":50},"Snabbdom","/document/snabbdom","document/26.snabbdom",[934],{"title":935,"path":936,"stem":937,"children":938},"Snabbdom 简介","/document/snabbdom/guide","document/26.snabbdom/01.guide/01.index",[939,940,944,948,952,956,960],{"title":935,"path":936,"stem":937},{"title":941,"path":942,"stem":943},"h 函数","/document/snabbdom/guide/h","document/26.snabbdom/01.guide/02.h",{"title":945,"path":946,"stem":947},"模块机制","/document/snabbdom/guide/modules","document/26.snabbdom/01.guide/03.modules",{"title":949,"path":950,"stem":951},"patch 渲染与更新","/document/snabbdom/guide/patch","document/26.snabbdom/01.guide/04.patch",{"title":953,"path":954,"stem":955},"key 的作用","/document/snabbdom/guide/key","document/26.snabbdom/01.guide/05.key",{"title":957,"path":958,"stem":959},"Diff 原理","/document/snabbdom/guide/diff","document/26.snabbdom/01.guide/06.diff",{"title":961,"path":962,"stem":963},"手写迷你虚拟 DOM","/document/snabbdom/guide/practice","document/26.snabbdom/01.guide/07.practice",{"title":965,"icon":966,"path":967,"stem":968,"children":969,"page":50},"Vercel","i-simple-icons-vercel","/document/vercel","document/27.vercel",[970],{"title":971,"path":972,"stem":973,"children":974},"Vercel 简介","/document/vercel/guide","document/27.vercel/01.guide/01.index",[975,976,980,984,988,992,996],{"title":971,"path":972,"stem":973},{"title":977,"path":978,"stem":979},"Vercel CLI","/document/vercel/guide/cli","document/27.vercel/01.guide/02.cli",{"title":981,"path":982,"stem":983},"项目设置与环境变量","/document/vercel/guide/settings","document/27.vercel/01.guide/03.settings",{"title":985,"path":986,"stem":987},"预览部署与回滚","/document/vercel/guide/preview","document/27.vercel/01.guide/04.preview",{"title":989,"path":990,"stem":991},"自定义域名","/document/vercel/guide/domain","document/27.vercel/01.guide/05.domain",{"title":993,"path":994,"stem":995},"vercel.json 配置","/document/vercel/guide/vercel-json","document/27.vercel/01.guide/06.vercel-json",{"title":997,"path":998,"stem":999},"Serverless Functions","/document/vercel/guide/serverless","document/27.vercel/01.guide/07.serverless",{"title":1001,"icon":1002,"path":1003,"stem":1004,"children":1005,"page":50},"ECharts","i-simple-icons-apacheecharts","/document/echarts","document/28.echarts",[1006],{"title":1007,"path":1008,"stem":1009,"children":1010},"ECharts 简介","/document/echarts/guide","document/28.echarts/01.guide/01.index",[1011,1012,1016,1020,1024,1028,1032],{"title":1007,"path":1008,"stem":1009},{"title":1013,"path":1014,"stem":1015},"核心配置项","/document/echarts/guide/option","document/28.echarts/01.guide/02.option",{"title":1017,"path":1018,"stem":1019},"常用图表类型","/document/echarts/guide/charts","document/28.echarts/01.guide/03.charts",{"title":1021,"path":1022,"stem":1023},"样式与主题","/document/echarts/guide/style","document/28.echarts/01.guide/04.style",{"title":1025,"path":1026,"stem":1027},"交互与事件","/document/echarts/guide/interaction","document/28.echarts/01.guide/05.interaction",{"title":1029,"path":1030,"stem":1031},"动态数据","/document/echarts/guide/data","document/28.echarts/01.guide/06.data",{"title":1033,"path":1034,"stem":1035},"Vue3 实战","/document/echarts/guide/vue","document/28.echarts/01.guide/07.vue",{"title":1037,"icon":1038,"path":1039,"stem":1040,"children":1041,"page":50},"D3","i-simple-icons-d3dotjs","/document/d3","document/29.d3",[1042],{"title":1043,"path":1044,"stem":1045,"children":1046},"D3 简介","/document/d3/guide","document/29.d3/01.guide/01.index",[1047,1048,1052,1056,1060,1064,1068,1072],{"title":1043,"path":1044,"stem":1045},{"title":1049,"path":1050,"stem":1051},"选择集与数据绑定","/document/d3/guide/selection","document/29.d3/01.guide/02.selection",{"title":1053,"path":1054,"stem":1055},"比例尺","/document/d3/guide/scale","document/29.d3/01.guide/03.scale",{"title":1057,"path":1058,"stem":1059},"坐标轴","/document/d3/guide/axis","document/29.d3/01.guide/04.axis",{"title":1061,"path":1062,"stem":1063},"图形生成器","/document/d3/guide/shape","document/29.d3/01.guide/05.shape",{"title":1065,"path":1066,"stem":1067},"过渡动画","/document/d3/guide/transition","document/29.d3/01.guide/06.transition",{"title":1069,"path":1070,"stem":1071},"交互与缩放","/document/d3/guide/interaction","document/29.d3/01.guide/07.interaction",{"title":1033,"path":1073,"stem":1074},"/document/d3/guide/vue","document/29.d3/01.guide/08.vue",{"title":1076,"icon":1077,"path":1078,"stem":1079,"children":1080,"page":50},"Three.js","i-simple-icons-threedotjs","/document/threejs","document/30.threejs",[1081,1095,1117,1135],{"title":1082,"path":1083,"stem":1084,"children":1085,"icon":1077},"Three.js 基础入门","/document/threejs/basics","document/30.threejs/01.basics/01.index",[1086,1087,1091],{"title":1082,"path":1083,"stem":1084},{"title":1088,"path":1089,"stem":1090},"物体变换","/document/threejs/basics/transform","document/30.threejs/01.basics/02.transform",{"title":1092,"path":1093,"stem":1094},"相机与视角","/document/threejs/basics/camera-controls","document/30.threejs/01.basics/03.camera-controls",{"title":1096,"icon":1097,"path":1098,"stem":1099,"children":1100,"page":50},"创建和组织三维场景","i-lucide-boxes","/document/threejs/scene","document/30.threejs/02.scene",[1101,1105,1109,1113],{"title":1102,"path":1103,"stem":1104},"Geometry 与 Mesh","/document/threejs/scene/geometry","document/30.threejs/02.scene/04.geometry",{"title":1106,"path":1107,"stem":1108},"材质与灯光","/document/threejs/scene/material-light","document/30.threejs/02.scene/05.material-light",{"title":1110,"path":1111,"stem":1112},"纹理与颜色空间","/document/threejs/scene/texture","document/30.threejs/02.scene/06.texture",{"title":1114,"path":1115,"stem":1116},"场景树与对象管理","/document/threejs/scene/scene-graph","document/30.threejs/02.scene/07.scene-graph",{"title":1118,"icon":1119,"path":1120,"stem":1121,"children":1122,"page":50},"模型、动画与交互","i-lucide-orbit","/document/threejs/model-interaction","document/30.threejs/03.model-interaction",[1123,1127,1131],{"title":1124,"path":1125,"stem":1126},"模型加载","/document/threejs/model-interaction/model-loading","document/30.threejs/03.model-interaction/08.model-loading",{"title":1128,"path":1129,"stem":1130},"动画循环","/document/threejs/model-interaction/animation-loop","document/30.threejs/03.model-interaction/09.animation-loop",{"title":1132,"path":1133,"stem":1134},"射线拾取与交互","/document/threejs/model-interaction/raycast-interaction","document/30.threejs/03.model-interaction/10.raycast-interaction",{"title":1136,"icon":1137,"path":1138,"stem":1139,"children":1140,"page":50},"工程化与性能","i-lucide-gauge","/document/threejs/engineering","document/30.threejs/04.engineering",[1141],{"title":1142,"path":1143,"stem":1144},"渲染器与性能","/document/threejs/engineering/renderer-performance","document/30.threejs/04.engineering/11.renderer-performance",{"title":1146,"icon":865,"path":1147,"stem":1148,"children":1149,"page":50},"Node.js 核心基础","/document/nodejs","document/32.nodejs",[1150,1165,1176,1211,1226],{"title":1151,"path":1152,"stem":1153,"children":1154},"Node.js 入门与运行环境","/document/nodejs/guide","document/32.nodejs/01.guide/01.index",[1155,1157,1161],{"title":1156,"path":1152,"stem":1153},"Node.js 简介与应用场景",{"title":1158,"path":1159,"stem":1160},"环境搭建","/document/nodejs/guide/setup","document/32.nodejs/01.guide/02.setup",{"title":1162,"path":1163,"stem":1164},"程序运行方式","/document/nodejs/guide/running","document/32.nodejs/01.guide/03.running",{"title":1166,"path":1167,"stem":1168,"children":1169},"Node.js 模块系统","/document/nodejs/modules","document/32.nodejs/02.modules/01.index",[1170,1172],{"title":1171,"path":1167,"stem":1168},"ESM 与 CommonJS",{"title":1173,"path":1174,"stem":1175},"模块加载机制","/document/nodejs/modules/loading","document/32.nodejs/02.modules/02.loading",{"title":1177,"path":1178,"stem":1179,"children":1180},"Node.js 核心内置模块","/document/nodejs/core","document/32.nodejs/03.core/01.index",[1181,1183,1187,1191,1195,1199,1203,1207],{"title":1182,"path":1178,"stem":1179},"path 路径处理",{"title":1184,"path":1185,"stem":1186},"fs 文件与目录","/document/nodejs/core/file-system","document/32.nodejs/03.core/02.file-system",{"title":1188,"path":1189,"stem":1190},"fs/promises 异步文件操作","/document/nodejs/core/fs-promises","document/32.nodejs/03.core/03.fs-promises",{"title":1192,"path":1193,"stem":1194},"Buffer 与字符编码","/document/nodejs/core/buffer","document/32.nodejs/03.core/04.buffer",{"title":1196,"path":1197,"stem":1198},"process 进程对象","/document/nodejs/core/process","document/32.nodejs/03.core/05.process",{"title":1200,"path":1201,"stem":1202},"events 事件模块","/document/nodejs/core/events","document/32.nodejs/03.core/06.events",{"title":1204,"path":1205,"stem":1206},"URL 与查询参数","/document/nodejs/core/url-query","document/32.nodejs/03.core/07.url-query",{"title":1208,"path":1209,"stem":1210},"crypto 常用能力","/document/nodejs/core/crypto","document/32.nodejs/03.core/08.crypto",{"title":1212,"path":1213,"stem":1214,"children":1215},"Node.js 异步 I/O 与运行机制","/document/nodejs/async","document/32.nodejs/04.async/01.index",[1216,1218,1222],{"title":1217,"path":1213,"stem":1214},"单线程与非阻塞 I/O",{"title":1219,"path":1220,"stem":1221},"事件循环","/document/nodejs/async/event-loop","document/32.nodejs/04.async/02.event-loop",{"title":1223,"path":1224,"stem":1225},"异步任务调度","/document/nodejs/async/scheduling","document/32.nodejs/04.async/03.scheduling",{"title":1227,"path":1228,"stem":1229,"children":1230},"Node.js Stream 与数据处理","/document/nodejs/streams","document/32.nodejs/05.streams/01.index",[1231],{"title":1232,"path":1228,"stem":1229},"Stream 数据处理",{"title":1234,"icon":1235,"path":1236,"stem":1237,"children":1238,"page":50},"Express","i-simple-icons-express","/document/express","document/33.express",[1239],{"title":1240,"path":1241,"stem":1242,"children":1243},"Express 简介","/document/express/guide","document/33.express/01.guide/01.index",[1244,1245,1249,1253,1257,1261],{"title":1240,"path":1241,"stem":1242},{"title":1246,"path":1247,"stem":1248},"路由","/document/express/guide/routing","document/33.express/01.guide/02.routing",{"title":1250,"path":1251,"stem":1252},"中间件","/document/express/guide/middleware","document/33.express/01.guide/03.middleware",{"title":1254,"path":1255,"stem":1256},"请求与响应","/document/express/guide/request-response","document/33.express/01.guide/04.request-response",{"title":1258,"path":1259,"stem":1260},"错误处理","/document/express/guide/error-handling","document/33.express/01.guide/05.error-handling",{"title":1262,"path":1263,"stem":1264},"RESTful 实战","/document/express/guide/restful-api","document/33.express/01.guide/06.restful-api",{"title":1266,"icon":1267,"path":1268,"stem":1269,"children":1270,"page":50},"Koa","i-simple-icons-koa","/document/koa","document/34.koa",[1271],{"title":1272,"path":1273,"stem":1274,"children":1275},"Koa 简介","/document/koa/guide","document/34.koa/01.guide/01.index",[1276,1277,1281,1285,1288,1292],{"title":1272,"path":1273,"stem":1274},{"title":1278,"path":1279,"stem":1280},"Context 上下文","/document/koa/guide/context","document/34.koa/01.guide/02.context",{"title":1282,"path":1283,"stem":1284},"中间件与洋葱模型","/document/koa/guide/middleware","document/34.koa/01.guide/03.middleware",{"title":1246,"path":1286,"stem":1287},"/document/koa/guide/routing","document/34.koa/01.guide/04.routing",{"title":1289,"path":1290,"stem":1291},"请求体与错误处理","/document/koa/guide/body-and-error","document/34.koa/01.guide/05.body-and-error",{"title":1293,"path":1294,"stem":1295},"RESTful 接口实战","/document/koa/guide/restful-api","document/34.koa/01.guide/06.restful-api",{"title":1297,"icon":1298,"path":1299,"stem":1300,"children":1301,"page":50},"Egg.js","i-lucide-egg","/document/egg","document/35.egg",[1302],{"title":1303,"path":1304,"stem":1305,"children":1306},"Egg.js 简介","/document/egg/guide","document/35.egg/01.guide/01.index",[1307,1308,1312,1316,1320,1324],{"title":1303,"path":1304,"stem":1305},{"title":1309,"path":1310,"stem":1311},"路由与 Controller","/document/egg/guide/router-controller","document/35.egg/01.guide/02.router-controller",{"title":1313,"path":1314,"stem":1315},"Service 业务逻辑","/document/egg/guide/service","document/35.egg/01.guide/03.service",{"title":1317,"path":1318,"stem":1319},"配置与中间件","/document/egg/guide/config-middleware","document/35.egg/01.guide/04.config-middleware",{"title":1321,"path":1322,"stem":1323},"插件与扩展","/document/egg/guide/plugin-extend","document/35.egg/01.guide/05.plugin-extend",{"title":1293,"path":1325,"stem":1326},"/document/egg/guide/restful-api","document/35.egg/01.guide/06.restful-api",{"title":1328,"icon":1329,"path":1330,"stem":1331,"children":1332,"page":50},"Docker","i-simple-icons-docker","/document/docker","document/36.docker",[1333],{"title":1334,"path":1335,"stem":1336,"children":1337},"Docker 简介","/document/docker/guide","document/36.docker/01.guide/01.index",[1338,1339,1343,1347,1351],{"title":1334,"path":1335,"stem":1336},{"title":1340,"path":1341,"stem":1342},"镜像与容器","/document/docker/guide/image-container","document/36.docker/01.guide/02.image-container",{"title":1344,"path":1345,"stem":1346},"数据卷","/document/docker/guide/volume","document/36.docker/01.guide/03.volume",{"title":1348,"path":1349,"stem":1350},"Dockerfile","/document/docker/guide/dockerfile","document/36.docker/01.guide/04.dockerfile",{"title":1352,"path":1353,"stem":1354},"Docker Compose","/document/docker/guide/docker-compose","document/36.docker/01.guide/05.docker-compose",{"title":1356,"icon":1357,"path":1358,"stem":1359,"children":1360,"page":50},"MySQL","i-simple-icons-mysql","/document/mysql","document/37.mysql",[1361,1376,1395,1410,1421],{"title":1362,"path":1363,"stem":1364,"children":1365},"基础入门","/document/mysql/guide","document/37.mysql/01.guide/01.index",[1366,1368,1372],{"title":1367,"path":1363,"stem":1364},"MySQL 入门",{"title":1369,"path":1370,"stem":1371},"建库与增删改","/document/mysql/guide/crud","document/37.mysql/01.guide/02.crud",{"title":1373,"path":1374,"stem":1375},"类型与约束","/document/mysql/guide/data-type","document/37.mysql/01.guide/03.data-type",{"title":1377,"path":1378,"stem":1379,"children":1380},"查询与统计","/document/mysql/query","document/37.mysql/02.query/01.index",[1381,1383,1387,1391],{"title":1382,"path":1378,"stem":1379},"条件查询与分页",{"title":1384,"path":1385,"stem":1386},"分组与统计","/document/mysql/query/aggregate","document/37.mysql/02.query/02.aggregate",{"title":1388,"path":1389,"stem":1390},"多表关联","/document/mysql/query/join","document/37.mysql/02.query/03.join",{"title":1392,"path":1393,"stem":1394},"子查询与分组排名","/document/mysql/query/subqueries","document/37.mysql/02.query/04.subqueries",{"title":1396,"path":1397,"stem":1398,"children":1399},"表设计与事务","/document/mysql/reliability","document/37.mysql/03.reliability/01.index",[1400,1402,1406],{"title":1401,"path":1397,"stem":1398},"关系设计",{"title":1403,"path":1404,"stem":1405},"事务与回滚","/document/mysql/reliability/transactions","document/37.mysql/03.reliability/02.transactions",{"title":1407,"path":1408,"stem":1409},"并发与锁","/document/mysql/reliability/concurrency","document/37.mysql/03.reliability/03.concurrency",{"title":1411,"path":1412,"stem":1413,"children":1414},"索引与性能","/document/mysql/performance","document/37.mysql/04.performance/01.index",[1415,1417],{"title":1416,"path":1412,"stem":1413},"索引设计",{"title":1418,"path":1419,"stem":1420},"执行计划与优化","/document/mysql/performance/explain","document/37.mysql/04.performance/02.explain",{"title":1422,"path":1423,"stem":1424,"children":1425},"项目接入与维护","/document/mysql/engineering","document/37.mysql/05.engineering/01.index",[1426,1428],{"title":1427,"path":1423,"stem":1424},"Node.js 接入",{"title":1429,"path":1430,"stem":1431},"备份与恢复","/document/mysql/engineering/backup","document/37.mysql/05.engineering/02.backup",{"title":1433,"icon":1434,"path":1435,"stem":1436,"children":1437,"page":50},"MongoDB","i-simple-icons-mongodb","/document/mongodb","document/38.mongodb",[1438],{"title":1439,"path":1440,"stem":1441,"children":1442},"MongoDB 简介","/document/mongodb/guide","document/38.mongodb/01.guide/01.index",[1443,1444,1448,1452,1456,1460,1464,1468],{"title":1439,"path":1440,"stem":1441},{"title":1445,"path":1446,"stem":1447},"增删改查","/document/mongodb/guide/crud","document/38.mongodb/01.guide/02.crud",{"title":1449,"path":1450,"stem":1451},"条件查询","/document/mongodb/guide/query","document/38.mongodb/01.guide/03.query",{"title":1453,"path":1454,"stem":1455},"文档与数据类型","/document/mongodb/guide/document","document/38.mongodb/01.guide/04.document",{"title":1457,"path":1458,"stem":1459},"Node.js 操作 MongoDB","/document/mongodb/guide/nodejs","document/38.mongodb/01.guide/05.nodejs",{"title":1461,"path":1462,"stem":1463},"Mongoose","/document/mongodb/guide/mongoose","document/38.mongodb/01.guide/06.mongoose",{"title":1465,"path":1466,"stem":1467},"索引","/document/mongodb/guide/optimize","document/38.mongodb/01.guide/07.optimize",{"title":1469,"path":1470,"stem":1471},"聚合管道","/document/mongodb/guide/aggregate","document/38.mongodb/01.guide/08.aggregate",{"title":1473,"icon":1474,"path":1475,"stem":1476,"children":1477,"page":50},"GraphQL","i-simple-icons-graphql","/document/graphql","document/39.graphql",[1478],{"title":1479,"path":1480,"stem":1481,"children":1482},"GraphQL 简介","/document/graphql/guide","document/39.graphql/01.guide/01.index",[1483,1484,1488,1492,1496,1500],{"title":1479,"path":1480,"stem":1481},{"title":1485,"path":1486,"stem":1487},"类型系统","/document/graphql/guide/schema","document/39.graphql/01.guide/02.schema",{"title":1489,"path":1490,"stem":1491},"查询进阶","/document/graphql/guide/query","document/39.graphql/01.guide/03.query",{"title":1493,"path":1494,"stem":1495},"Mutation 增删改","/document/graphql/guide/mutation","document/39.graphql/01.guide/04.mutation",{"title":1497,"path":1498,"stem":1499},"Express 集成","/document/graphql/guide/express","document/39.graphql/01.guide/05.express",{"title":1501,"path":1502,"stem":1503},"前端调用","/document/graphql/guide/client","document/39.graphql/01.guide/06.client",{"title":1505,"icon":1506,"path":1507,"stem":1508,"children":1509,"page":50},"Vue2 源码","i-simple-icons-vuedotjs","/document/source-vue2","document/40.source-vue2",[1510],{"title":1511,"path":1512,"stem":1513,"children":1514},"Vue2 源码简介","/document/source-vue2/guide","document/40.source-vue2/01.guide/01.index",[1515,1516,1520,1524,1528,1532,1536,1540],{"title":1511,"path":1512,"stem":1513},{"title":1517,"path":1518,"stem":1519},"初始化流程","/document/source-vue2/guide/init","document/40.source-vue2/01.guide/02.init",{"title":1521,"path":1522,"stem":1523},"响应式原理","/document/source-vue2/guide/reactive","document/40.source-vue2/01.guide/03.reactive",{"title":1525,"path":1526,"stem":1527},"Dep 与 Watcher","/document/source-vue2/guide/dep-watcher","document/40.source-vue2/01.guide/04.dep-watcher",{"title":1529,"path":1530,"stem":1531},"异步更新与 nextTick","/document/source-vue2/guide/nexttick","document/40.source-vue2/01.guide/05.nexttick",{"title":1533,"path":1534,"stem":1535},"虚拟 DOM 与 patch","/document/source-vue2/guide/vnode-patch","document/40.source-vue2/01.guide/06.vnode-patch",{"title":1537,"path":1538,"stem":1539},"模板编译","/document/source-vue2/guide/compile","document/40.source-vue2/01.guide/07.compile",{"title":1541,"path":1542,"stem":1543},"computed 与 watch 原理","/document/source-vue2/guide/computed-watch","document/40.source-vue2/01.guide/08.computed-watch",{"title":1545,"icon":1506,"path":1546,"stem":1547,"children":1548,"page":50},"Vue3 源码","/document/source-vue3","document/41.source-vue3",[1549],{"title":1550,"path":1551,"stem":1552,"children":1553},"Vue3 源码简介","/document/source-vue3/guide","document/41.source-vue3/01.guide/01.index",[1554,1555,1559,1563,1567,1571,1575,1578],{"title":1550,"path":1551,"stem":1552},{"title":1556,"path":1557,"stem":1558},"创建与挂载","/document/source-vue3/guide/create-app","document/41.source-vue3/01.guide/02.create-app",{"title":1560,"path":1561,"stem":1562},"Proxy 响应式","/document/source-vue3/guide/reactive","document/41.source-vue3/01.guide/03.reactive",{"title":1564,"path":1565,"stem":1566},"effect 与依赖收集","/document/source-vue3/guide/effect","document/41.source-vue3/01.guide/04.effect",{"title":1568,"path":1569,"stem":1570},"ref 与 computed","/document/source-vue3/guide/ref-computed","document/41.source-vue3/01.guide/05.ref-computed",{"title":1572,"path":1573,"stem":1574},"调度器与 nextTick","/document/source-vue3/guide/scheduler-nexttick","document/41.source-vue3/01.guide/06.scheduler-nexttick",{"title":1533,"path":1576,"stem":1577},"/document/source-vue3/guide/vnode-patch","document/41.source-vue3/01.guide/07.vnode-patch",{"title":1537,"path":1579,"stem":1580},"/document/source-vue3/guide/compile","document/41.source-vue3/01.guide/08.compile",{"title":1582,"icon":1583,"path":1584,"stem":1585,"children":1586,"page":50},"性能优化","i-lucide-zap","/document/performance","document/42.performance",[1587],{"title":1588,"path":1589,"stem":1590,"children":1591},"性能优化简介","/document/performance/guide","document/42.performance/01.guide/01.index",[1592,1593,1597,1601,1605,1609],{"title":1588,"path":1589,"stem":1590},{"title":1594,"path":1595,"stem":1596},"加载优化","/document/performance/guide/loading","document/42.performance/01.guide/02.loading",{"title":1598,"path":1599,"stem":1600},"渲染优化","/document/performance/guide/rendering","document/42.performance/01.guide/03.rendering",{"title":1602,"path":1603,"stem":1604},"缓存策略","/document/performance/guide/cache","document/42.performance/01.guide/04.cache",{"title":1606,"path":1607,"stem":1608},"构建产物优化","/document/performance/guide/build","document/42.performance/01.guide/05.build",{"title":1610,"path":1611,"stem":1612},"性能指标与工具","/document/performance/guide/metrics","document/42.performance/01.guide/06.metrics",{"title":1614,"icon":1615,"path":1616,"stem":1617,"children":1618,"page":50},"前端监控","i-lucide-activity","/document/monitor","document/43.monitor",[1619],{"title":1620,"path":1621,"stem":1622,"children":1623},"前端监控简介","/document/monitor/guide","document/43.monitor/01.guide/01.index",[1624,1625,1629,1633,1637,1641],{"title":1620,"path":1621,"stem":1622},{"title":1626,"path":1627,"stem":1628},"错误采集","/document/monitor/guide/error","document/43.monitor/01.guide/02.error",{"title":1630,"path":1631,"stem":1632},"埋点与上报","/document/monitor/guide/tracking","document/43.monitor/01.guide/03.tracking",{"title":1634,"path":1635,"stem":1636},"性能数据上报","/document/monitor/guide/performance-data","document/43.monitor/01.guide/04.performance-data",{"title":1638,"path":1639,"stem":1640},"Sentry 实践","/document/monitor/guide/sentry","document/43.monitor/01.guide/05.sentry",{"title":1642,"path":1643,"stem":1644},"日志与告警","/document/monitor/guide/logging","document/43.monitor/01.guide/06.logging",{"title":1646,"icon":1647,"path":1648,"stem":1649,"children":1650},"Electron：从入门到桌面应用交付","i-simple-icons-electron","/document/electron","document/44.electron/课程规划",[1651,1667,1685,1703,1720],{"title":1652,"path":1653,"stem":1654,"children":1655,"icon":1666},"基础架构","/document/electron/guide","document/44.electron/01.guide/01.index",[1656,1658,1662],{"title":1657,"path":1653,"stem":1654},"Electron 简介",{"title":1659,"path":1660,"stem":1661},"主进程、渲染进程与 preload","/document/electron/guide/process-model","document/44.electron/01.guide/02.process-model",{"title":1663,"path":1664,"stem":1665},"Electron 与 Vue 集成","/document/electron/guide/vue-integration","document/44.electron/01.guide/03.vue-integration","i-lucide-layers",{"title":1668,"icon":1669,"path":1670,"stem":1671,"children":1672,"page":50},"核心开发","i-lucide-code-2","/document/electron/core","document/44.electron/02.core",[1673,1677,1681],{"title":1674,"path":1675,"stem":1676},"创建窗口与应用生命周期","/document/electron/core/window-lifecycle","document/44.electron/02.core/04.window-lifecycle",{"title":1678,"path":1679,"stem":1680},"IPC 通信与接口设计","/document/electron/core/ipc-design","document/44.electron/02.core/05.ipc-design",{"title":1682,"path":1683,"stem":1684},"本地文件与系统交互","/document/electron/core/filesystem-system","document/44.electron/02.core/06.filesystem-system",{"title":1686,"icon":1687,"path":1688,"stem":1689,"children":1690,"page":50},"桌面能力与安全","i-lucide-monitor-cog","/document/electron/desktop","document/44.electron/03.desktop",[1691,1695,1699],{"title":1692,"path":1693,"stem":1694},"桌面端安全基础","/document/electron/desktop/security","document/44.electron/03.desktop/07.security",{"title":1696,"path":1697,"stem":1698},"菜单、托盘与多窗口","/document/electron/desktop/window-menu-tray","document/44.electron/03.desktop/08.window-menu-tray",{"title":1700,"path":1701,"stem":1702},"会话、网络与本地存储","/document/electron/desktop/session-storage","document/44.electron/03.desktop/09.session-storage",{"title":1704,"icon":1137,"path":1705,"stem":1706,"children":1707,"page":50},"资源、性能与导出","/document/electron/stability","document/44.electron/04.stability",[1708,1712,1716],{"title":1709,"path":1710,"stem":1711},"自定义协议、资源加载与深链接","/document/electron/stability/protocol-loading","document/44.electron/04.stability/10.protocol-loading",{"title":1713,"path":1714,"stem":1715},"耗时任务与性能排查","/document/electron/stability/tasks-performance","document/44.electron/04.stability/11.tasks-performance",{"title":1717,"path":1718,"stem":1719},"PDF 打印与报告导出","/document/electron/stability/pdf-report","document/44.electron/04.stability/12.pdf-report",{"title":1721,"icon":1722,"path":1723,"stem":1724,"children":1725,"page":50},"交付与实战","i-lucide-rocket","/document/electron/delivery","document/44.electron/05.delivery",[1726,1730,1734,1738],{"title":1727,"path":1728,"stem":1729},"应用打包与自动更新","/document/electron/delivery/package-update","document/44.electron/05.delivery/13.package-update",{"title":1731,"path":1732,"stem":1733},"桌面应用签名与公证","/document/electron/delivery/code-signing","document/44.electron/05.delivery/14.code-signing",{"title":1735,"path":1736,"stem":1737},"测试、监控与发布","/document/electron/delivery/test-monitor-release","document/44.electron/05.delivery/15.test-monitor-release",{"title":1739,"path":1740,"stem":1741},"实战：桌面资料管理工具","/document/electron/delivery/project-file-manager","document/44.electron/05.delivery/16.project-file-manager",{"title":1743,"icon":1744,"path":1745,"stem":1746,"children":1747,"page":50},"WebGIS","i-lucide-map","/document/webgis","document/45.webgis",[1748,1755,1768,1782,1800,1814],{"title":1749,"path":1750,"stem":1751,"children":1752,"icon":1744},"WebGIS 基础认知","/document/webgis/guide","document/45.webgis/01.guide/01.index",[1753],{"title":1754,"path":1750,"stem":1751},"WebGIS 全景",{"title":1756,"icon":233,"path":1757,"stem":1758,"children":1759,"page":50},"空间数据基础","/document/webgis/spatial","document/45.webgis/02.spatial",[1760,1764],{"title":1761,"path":1762,"stem":1763},"矢量与栅格","/document/webgis/spatial/vector-and-raster","document/45.webgis/02.spatial/02.vector-and-raster",{"title":1765,"path":1766,"stem":1767},"GeoJSON 与常见格式","/document/webgis/spatial/geojson-and-formats","document/45.webgis/02.spatial/03.geojson-and-formats",{"title":1769,"icon":1770,"path":1771,"stem":1772,"children":1773,"page":50},"坐标与地图投影","i-lucide-compass","/document/webgis/coordinate","document/45.webgis/03.coordinate",[1774,1778],{"title":1775,"path":1776,"stem":1777},"CRS 与地图投影","/document/webgis/coordinate/coordinate-reference-systems","document/45.webgis/03.coordinate/04.coordinate-reference-systems",{"title":1779,"path":1780,"stem":1781},"坐标转换与偏移","/document/webgis/coordinate/coordinate-offset","document/45.webgis/03.coordinate/05.coordinate-offset",{"title":1783,"icon":1784,"path":1785,"stem":1786,"children":1787,"page":50},"瓦片与地图服务","i-lucide-grid-2x2","/document/webgis/tiles","document/45.webgis/04.tiles",[1788,1792,1796],{"title":1789,"path":1790,"stem":1791},"地图瓦片","/document/webgis/tiles/map-tiles","document/45.webgis/04.tiles/06.map-tiles",{"title":1793,"path":1794,"stem":1795},"栅格与矢量瓦片","/document/webgis/tiles/raster-and-vector-tiles","document/45.webgis/04.tiles/07.raster-and-vector-tiles",{"title":1797,"path":1798,"stem":1799},"地图服务与 OGC","/document/webgis/tiles/map-services","document/45.webgis/04.tiles/08.map-services",{"title":1801,"icon":1802,"path":1803,"stem":1804,"children":1805,"page":50},"空间查询与分析","i-lucide-search","/document/webgis/analysis","document/45.webgis/05.analysis",[1806,1810],{"title":1807,"path":1808,"stem":1809},"空间查询与空间关系","/document/webgis/analysis/spatial-relationships","document/45.webgis/05.analysis/09.spatial-relationships",{"title":1811,"path":1812,"stem":1813},"距离、面积与空间分析","/document/webgis/analysis/distance-and-analysis","document/45.webgis/05.analysis/10.distance-and-analysis",{"title":1815,"icon":1816,"path":1817,"stem":1818,"children":1819,"page":50},"GIS 数据工程","i-lucide-database","/document/webgis/engineering","document/45.webgis/06.engineering",[1820,1824],{"title":1821,"path":1822,"stem":1823},"GIS 数据处理与清洗","/document/webgis/engineering/data-cleaning","document/45.webgis/06.engineering/11.data-cleaning",{"title":1825,"path":1826,"stem":1827},"海量数据展示","/document/webgis/engineering/large-data-display","document/45.webgis/06.engineering/12.large-data-display",{"title":1829,"icon":1830,"path":1831,"stem":1832,"children":1833,"page":50},"Mapbox GL JS","i-simple-icons-mapbox","/document/mapbox-gl-js","document/46.mapbox-gl-js",[1834,1849,1875],{"title":1835,"path":1836,"stem":1837,"children":1838,"icon":1744},"地图基础","/document/mapbox-gl-js/start","document/46.mapbox-gl-js/01.start/01.index",[1839,1841,1845],{"title":1840,"path":1836,"stem":1837},"Mapbox GL JS 入门",{"title":1842,"path":1843,"stem":1844},"初始化与视角控制","/document/mapbox-gl-js/start/view-control","document/46.mapbox-gl-js/01.start/02.view-control",{"title":1846,"path":1847,"stem":1848},"地图事件与基础控件","/document/mapbox-gl-js/start/events-controls","document/46.mapbox-gl-js/01.start/03.events-controls",{"title":1850,"icon":1851,"path":1852,"stem":1853,"children":1854,"page":50},"数据与样式","i-lucide-layers-3","/document/mapbox-gl-js/data","document/46.mapbox-gl-js/02.data",[1855,1859,1863,1867,1871],{"title":1856,"path":1857,"stem":1858},"Source 与 Layer","/document/mapbox-gl-js/data/source-layer","document/46.mapbox-gl-js/02.data/04.source-layer",{"title":1860,"path":1861,"stem":1862},"GeoJSON 点线面","/document/mapbox-gl-js/data/geojson-features","document/46.mapbox-gl-js/02.data/05.geojson-features",{"title":1864,"path":1865,"stem":1866},"样式与表达式","/document/mapbox-gl-js/data/style-expressions","document/46.mapbox-gl-js/02.data/06.style-expressions",{"title":1868,"path":1869,"stem":1870},"Marker、Popup 与 Symbol","/document/mapbox-gl-js/data/marker-popup-symbol","document/46.mapbox-gl-js/02.data/07.marker-popup-symbol",{"title":1872,"path":1873,"stem":1874},"加载瓦片服务","/document/mapbox-gl-js/data/tile-services","document/46.mapbox-gl-js/02.data/08.tile-services",{"title":1876,"icon":1877,"path":1878,"stem":1879,"children":1880,"page":50},"业务交互","i-lucide-map-pinned","/document/mapbox-gl-js/business","document/46.mapbox-gl-js/03.business",[1881,1885,1889,1893,1897],{"title":1882,"path":1883,"stem":1884},"查询与高亮","/document/mapbox-gl-js/business/query-highlight","document/46.mapbox-gl-js/03.business/08.query-highlight",{"title":1886,"path":1887,"stem":1888},"筛选与图层管理","/document/mapbox-gl-js/business/filter-layers","document/46.mapbox-gl-js/03.business/09.filter-layers",{"title":1890,"path":1891,"stem":1892},"点聚合","/document/mapbox-gl-js/business/clusters","document/46.mapbox-gl-js/03.business/10.clusters",{"title":1894,"path":1895,"stem":1896},"绘制、编辑与测量","/document/mapbox-gl-js/business/draw-measure","document/46.mapbox-gl-js/03.business/11.draw-measure",{"title":1898,"path":1899,"stem":1900},"接入 Three.js","/document/mapbox-gl-js/business/three-in-mapbox","document/46.mapbox-gl-js/03.business/12.three-in-mapbox",{"title":1902,"icon":1851,"path":1903,"stem":1904,"children":1905,"page":50},"deck.gl","/document/deck-gl","document/47.deck-gl",[1906,1921,1938],{"title":1907,"path":1908,"stem":1909,"children":1910},"deck.gl 基础入门","/document/deck-gl/basics","document/47.deck-gl/01.basics/01.index",[1911,1913,1917],{"title":1912,"path":1908,"stem":1909},"deck.gl 简介",{"title":1914,"path":1915,"stem":1916},"Layer、Data 与 Accessor","/document/deck-gl/basics/layer-data-accessor","document/47.deck-gl/01.basics/02.layer-data-accessor",{"title":1918,"path":1919,"stem":1920},"常用基础图层","/document/deck-gl/basics/common-layers","document/47.deck-gl/01.basics/03.common-layers",{"title":1922,"path":1923,"stem":1924,"children":1925,"page":50},"地图交互与 Mapbox 集成","/document/deck-gl/interaction-mapbox","document/47.deck-gl/02.interaction-mapbox",[1926,1930,1934],{"title":1927,"path":1928,"stem":1929},"拾取与 Tooltip","/document/deck-gl/interaction-mapbox/picking-tooltip","document/47.deck-gl/02.interaction-mapbox/04.picking-tooltip",{"title":1931,"path":1932,"stem":1933},"坐标与单位","/document/deck-gl/interaction-mapbox/coordinates-units","document/47.deck-gl/02.interaction-mapbox/05.coordinates-units",{"title":1935,"path":1936,"stem":1937},"deck.gl 与 Mapbox","/document/deck-gl/interaction-mapbox/mapbox-integration","document/47.deck-gl/02.interaction-mapbox/06.mapbox-integration",{"title":1939,"path":1940,"stem":1941,"children":1942,"page":50},"动态数据与专题可视化","/document/deck-gl/dynamic-thematic","document/47.deck-gl/03.dynamic-thematic",[1943,1947,1951,1955],{"title":1944,"path":1945,"stem":1946},"Layer 更新与动态数据","/document/deck-gl/dynamic-thematic/layer-updates","document/47.deck-gl/03.dynamic-thematic/07.layer-updates",{"title":1948,"path":1949,"stem":1950},"聚合与专题地图","/document/deck-gl/dynamic-thematic/aggregation-thematic","document/47.deck-gl/03.dynamic-thematic/08.aggregation-thematic",{"title":1952,"path":1953,"stem":1954},"时间序列与轨迹动画","/document/deck-gl/dynamic-thematic/trips-animation","document/47.deck-gl/03.dynamic-thematic/09.trips-animation",{"title":1956,"path":1957,"stem":1958},"瓦片与大规模空间数据","/document/deck-gl/dynamic-thematic/tiles-large-data","document/47.deck-gl/03.dynamic-thematic/10.tiles-large-data",{"title":1960,"icon":865,"path":1961,"stem":1962,"children":1963,"page":50},"HTTP 与后端开发基础","/document/nodejs-backend","document/48.nodejs-backend",[1964,1984,2003,2022,2041,2060,2075,2090],{"title":1965,"path":1966,"stem":1967,"children":1968,"icon":1983},"后端开发基础认知","/document/nodejs-backend/guide","document/48.nodejs-backend/01.guide/01.index",[1969,1971,1975,1979],{"title":1970,"path":1966,"stem":1967},"前端与后端的区别",{"title":1972,"path":1973,"stem":1974},"HTTP / HTTPS 核心原理","/document/nodejs-backend/guide/http-https","document/48.nodejs-backend/01.guide/02.http-https",{"title":1976,"path":1977,"stem":1978},"Cookie、Session 与浏览器同源策略","/document/nodejs-backend/guide/cookies-origin","document/48.nodejs-backend/01.guide/03.cookies-origin",{"title":1980,"path":1981,"stem":1982},"从浏览器发起请求到服务端返回数据的完整过程","/document/nodejs-backend/guide/request-lifecycle","document/48.nodejs-backend/01.guide/04.request-lifecycle","i-lucide-book-open",{"title":1985,"path":1986,"stem":1987,"children":1988,"icon":1983},"Node.js HTTP 服务开发","/document/nodejs-backend/http","document/48.nodejs-backend/02.http/01.index",[1989,1991,1995,1999],{"title":1990,"path":1986,"stem":1987},"使用原生 Node.js 创建 HTTP 服务器",{"title":1992,"path":1993,"stem":1994},"HTTP 请求解析","/document/nodejs-backend/http/request","document/48.nodejs-backend/02.http/02.request",{"title":1996,"path":1997,"stem":1998},"HTTP 响应处理","/document/nodejs-backend/http/response","document/48.nodejs-backend/02.http/03.response",{"title":2000,"path":2001,"stem":2002},"路由匹配与请求处理流程","/document/nodejs-backend/http/routing","document/48.nodejs-backend/02.http/04.routing",{"title":2004,"path":2005,"stem":2006,"children":2007,"icon":1983},"RESTful API 接口设计","/document/nodejs-backend/api","document/48.nodejs-backend/03.api/01.index",[2008,2010,2014,2018],{"title":2009,"path":2005,"stem":2006},"RESTful API 设计规范与 HTTP 请求方法",{"title":2011,"path":2012,"stem":2013},"接口参数校验与数据格式规范","/document/nodejs-backend/api/validation","document/48.nodejs-backend/03.api/02.validation",{"title":2015,"path":2016,"stem":2017},"统一响应格式、错误码与异常处理","/document/nodejs-backend/api/errors","document/48.nodejs-backend/03.api/03.errors",{"title":2019,"path":2020,"stem":2021},"API 版本管理、分页、筛选、排序与接口文档","/document/nodejs-backend/api/query-contract","document/48.nodejs-backend/03.api/04.query-contract",{"title":2023,"path":2024,"stem":2025,"children":2026,"icon":1983},"身份认证与权限控制","/document/nodejs-backend/auth","document/48.nodejs-backend/04.auth/01.index",[2027,2029,2033,2037],{"title":2028,"path":2024,"stem":2025},"身份认证与权限授权",{"title":2030,"path":2031,"stem":2032},"Session、JWT 与 Token 认证机制","/document/nodejs-backend/auth/session-jwt","document/48.nodejs-backend/04.auth/02.session-jwt",{"title":2034,"path":2035,"stem":2036},"Access Token、Refresh Token 与登录状态管理","/document/nodejs-backend/auth/token-lifecycle","document/48.nodejs-backend/04.auth/03.token-lifecycle",{"title":2038,"path":2039,"stem":2040},"RBAC 权限模型与接口级权限控制","/document/nodejs-backend/auth/rbac","document/48.nodejs-backend/04.auth/04.rbac",{"title":2042,"path":2043,"stem":2044,"children":2045,"icon":1983},"后端安全与风险防护","/document/nodejs-backend/security","document/48.nodejs-backend/05.security/01.index",[2046,2048,2052,2056],{"title":2047,"path":2043,"stem":2044},"CORS 跨域机制与跨域请求处理",{"title":2049,"path":2050,"stem":2051},"XSS、CSRF、SQL 注入与常见 Web 安全风险","/document/nodejs-backend/security/web-risks","document/48.nodejs-backend/05.security/02.web-risks",{"title":2053,"path":2054,"stem":2055},"密码安全","/document/nodejs-backend/security/passwords","document/48.nodejs-backend/05.security/03.passwords",{"title":2057,"path":2058,"stem":2059},"接口防护","/document/nodejs-backend/security/request-protection","document/48.nodejs-backend/05.security/04.request-protection",{"title":2061,"path":2062,"stem":2063,"children":2064,"icon":1983},"后端工程化与架构设计","/document/nodejs-backend/architecture","document/48.nodejs-backend/06.architecture/01.index",[2065,2067,2071],{"title":2066,"path":2062,"stem":2063},"后端项目目录结构与分层架构设计",{"title":2068,"path":2069,"stem":2070},"Controller、Service、Repository 的职责划分","/document/nodejs-backend/architecture/layers","document/48.nodejs-backend/06.architecture/02.layers",{"title":2072,"path":2073,"stem":2074},"环境变量、配置管理、日志与统一异常处理","/document/nodejs-backend/architecture/configuration-logging","document/48.nodejs-backend/06.architecture/03.configuration-logging",{"title":2076,"path":2077,"stem":2078,"children":2079,"icon":1983},"常见后端业务场景","/document/nodejs-backend/business","document/48.nodejs-backend/07.business/01.index",[2080,2082,2086],{"title":2081,"path":2077,"stem":2078},"文件上传、下载与静态资源访问",{"title":2083,"path":2084,"stem":2085},"邮件、验证码与第三方服务接口集成","/document/nodejs-backend/business/integrations","document/48.nodejs-backend/07.business/02.integrations",{"title":2087,"path":2088,"stem":2089},"WebSocket、SSE 与实时消息通信","/document/nodejs-backend/business/realtime","document/48.nodejs-backend/07.business/03.realtime",{"title":2091,"path":2092,"stem":2093,"children":2094,"icon":1983},"接口测试与部署基础","/document/nodejs-backend/delivery","document/48.nodejs-backend/08.delivery/01.index",[2095,2097],{"title":2096,"path":2092,"stem":2093},"使用 Postman / Apifox 调试接口与 Node.js 接口自动化测试",{"title":2098,"path":2099,"stem":2100},"Node.js 服务部署入门","/document/nodejs-backend/delivery/deployment","document/48.nodejs-backend/08.delivery/02.deployment",{"title":2102,"icon":2103,"path":2104,"stem":2105,"children":2106,"page":50},"Redis","i-simple-icons-redis","/document/redis","document/50.redis",[2107,2122,2137,2148],{"title":2108,"path":2109,"stem":2110,"children":2111},"Redis 基础与数据结构","/document/redis/guide","document/50.redis/01.guide/01.index",[2112,2114,2118],{"title":2113,"path":2109,"stem":2110},"简介与 Node.js 集成",{"title":2115,"path":2116,"stem":2117},"核心数据类型与常用操作","/document/redis/guide/data-types","document/50.redis/01.guide/02.data-types",{"title":2119,"path":2120,"stem":2121},"Key 管理与过期时间","/document/redis/guide/keys-expiration","document/50.redis/01.guide/03.keys-expiration",{"title":2123,"path":2124,"stem":2125,"children":2126},"Redis 核心机制","/document/redis/mechanisms","document/50.redis/02.mechanisms/01.index",[2127,2129,2133],{"title":2128,"path":2124,"stem":2125},"原子操作、事务与 Pipeline",{"title":2130,"path":2131,"stem":2132},"内存管理与淘汰策略","/document/redis/mechanisms/memory-eviction","document/50.redis/02.mechanisms/02.memory-eviction",{"title":2134,"path":2135,"stem":2136},"持久化机制","/document/redis/mechanisms/persistence","document/50.redis/02.mechanisms/03.persistence",{"title":2138,"path":2139,"stem":2140,"children":2141},"Redis 在 Node.js 中的应用","/document/redis/applications","document/50.redis/03.applications/01.index",[2142,2144],{"title":2143,"path":2139,"stem":2140},"实现数据缓存",{"title":2145,"path":2146,"stem":2147},"缓存常见问题与解决方案","/document/redis/applications/cache-protection","document/50.redis/03.applications/02.cache-protection",{"title":2149,"path":2150,"stem":2151,"children":2152},"Redis 生产实践","/document/redis/production","document/50.redis/04.production/01.index",[2153],{"title":2154,"path":2150,"stem":2151},"连接管理、安全与性能排查",{"title":2156,"icon":2157,"path":2158,"stem":2159,"children":2160,"page":50},"BullMQ","i-lucide-list-todo","/document/bullmq","document/51.bullmq",[2161,2172,2187],{"title":2162,"path":2163,"stem":2164,"children":2165},"BullMQ 基础","/document/bullmq/guide","document/51.bullmq/01.guide/01.index",[2166,2168],{"title":2167,"path":2163,"stem":2164},"简介与快速入门",{"title":2169,"path":2170,"stem":2171},"Queue、Worker 与 Job","/document/bullmq/guide/queue-worker-job","document/51.bullmq/01.guide/02.queue-worker-job",{"title":2173,"path":2174,"stem":2175,"children":2176},"任务调度与管理","/document/bullmq/scheduling","document/51.bullmq/02.scheduling/01.index",[2177,2179,2183],{"title":2178,"path":2174,"stem":2175},"延迟任务与定时任务",{"title":2180,"path":2181,"stem":2182},"任务并发与速率限制","/document/bullmq/scheduling/concurrency-rate-limiting","document/51.bullmq/02.scheduling/02.concurrency-rate-limiting",{"title":2184,"path":2185,"stem":2186},"任务状态、进度与事件监听","/document/bullmq/scheduling/status-progress-events","document/51.bullmq/02.scheduling/03.status-progress-events",{"title":2188,"path":2189,"stem":2190,"children":2191},"任务可靠性","/document/bullmq/reliability","document/51.bullmq/03.reliability/01.index",[2192],{"title":2193,"path":2189,"stem":2190},"任务失败重试与异常处理",{"title":2195,"icon":2196,"path":2197,"stem":2198,"children":2199,"page":50},"RabbitMQ","i-simple-icons-rabbitmq","/document/rabbitmq","document/52.rabbitmq",[2200,2218,2233,2252],{"title":1362,"path":2201,"stem":2202,"children":2203},"/document/rabbitmq/guide","document/52.rabbitmq/01.guide/01.index",[2204,2206,2210,2214],{"title":2205,"path":2201,"stem":2202},"RabbitMQ 简介",{"title":2207,"path":2208,"stem":2209},"安装与连接","/document/rabbitmq/guide/environment","document/52.rabbitmq/01.guide/02.environment",{"title":2211,"path":2212,"stem":2213},"发送和接收一条消息","/document/rabbitmq/guide/first-message","document/52.rabbitmq/01.guide/03.first-message",{"title":2215,"path":2216,"stem":2217},"消息正文与属性","/document/rabbitmq/guide/message-format","document/52.rabbitmq/01.guide/04.message-format",{"title":2219,"path":2220,"stem":2221,"children":2222},"交换机与路由","/document/rabbitmq/routing","document/52.rabbitmq/02.routing/01.index",[2223,2225,2229],{"title":2224,"path":2220,"stem":2221},"交换机与发布订阅",{"title":2226,"path":2227,"stem":2228},"Direct 交换机的精确路由","/document/rabbitmq/routing/direct","document/52.rabbitmq/02.routing/02.direct",{"title":2230,"path":2231,"stem":2232},"Topic 交换机的通配符路由","/document/rabbitmq/routing/topic","document/52.rabbitmq/02.routing/03.topic",{"title":2234,"path":2235,"stem":2236,"children":2237},"消息可靠性","/document/rabbitmq/reliability","document/52.rabbitmq/03.reliability/01.index",[2238,2240,2244,2248],{"title":2239,"path":2235,"stem":2236},"消息处理与消费确认",{"title":2241,"path":2242,"stem":2243},"发布确认与消息退回","/document/rabbitmq/reliability/publisher-confirms","document/52.rabbitmq/03.reliability/02.publisher-confirms",{"title":2245,"path":2246,"stem":2247},"队列与消息持久化","/document/rabbitmq/reliability/persistence","document/52.rabbitmq/03.reliability/03.persistence",{"title":2249,"path":2250,"stem":2251},"消费失败与死信处理","/document/rabbitmq/reliability/dead-letter","document/52.rabbitmq/03.reliability/04.dead-letter",{"title":2253,"path":2254,"stem":2255,"children":2256},"消费与运行管理","/document/rabbitmq/management","document/52.rabbitmq/04.management/01.index",[2257,2259],{"title":2258,"path":2254,"stem":2255},"多消费者与预取控制",{"title":2260,"path":2261,"stem":2262},"队列状态与故障排查","/document/rabbitmq/management/monitoring","document/52.rabbitmq/04.management/02.monitoring",{"title":2264,"icon":2265,"path":2266,"stem":2267,"children":2268,"page":50},"Socket.IO","i-simple-icons-socketdotio","/document/socket-io","document/53.socket-io",[2269,2284,2299,2310],{"title":2270,"path":2271,"stem":2272,"children":2273},"认识与消息收发","/document/socket-io/guide","document/53.socket-io/01.guide/01.index",[2274,2276,2280],{"title":2275,"path":2271,"stem":2272},"Socket.IO 简介与环境搭建",{"title":2277,"path":2278,"stem":2279},"事件发送与监听","/document/socket-io/guide/events","document/53.socket-io/01.guide/02.events",{"title":2281,"path":2282,"stem":2283},"消息确认与输入校验","/document/socket-io/guide/acknowledgements","document/53.socket-io/01.guide/03.acknowledgements",{"title":2285,"path":2286,"stem":2287,"children":2288},"广播、房间与认证","/document/socket-io/messaging","document/53.socket-io/02.messaging/01.index",[2289,2291,2295],{"title":2290,"path":2286,"stem":2287},"广播与消息接收范围",{"title":2292,"path":2293,"stem":2294},"房间加入与分组聊天","/document/socket-io/messaging/rooms","document/53.socket-io/02.messaging/02.rooms",{"title":2296,"path":2297,"stem":2298},"身份认证与房间权限","/document/socket-io/messaging/authentication","document/53.socket-io/02.messaging/03.authentication",{"title":2300,"path":2301,"stem":2302,"children":2303},"断线与消息补取","/document/socket-io/reliability","document/53.socket-io/03.reliability/01.index",[2304,2306],{"title":2305,"path":2301,"stem":2302},"断线重连与状态提示",{"title":2307,"path":2308,"stem":2309},"最近消息与断线补取","/document/socket-io/reliability/history","document/53.socket-io/03.reliability/02.history",{"title":2311,"path":2312,"stem":2313,"children":2314},"部署与故障排查","/document/socket-io/production","document/53.socket-io/04.production/01.index",[2315],{"title":2316,"path":2312,"stem":2313},"服务部署与常见故障排查",{"title":2318,"icon":2319,"path":2320,"stem":2321,"children":2322,"page":50},"Nginx","i-simple-icons-nginx","/document/nginx","document/55.nginx",[2323,2342,2361,2376],{"title":2324,"path":2325,"stem":2326,"children":2327},"认识与运行","/document/nginx/guide","document/55.nginx/01.guide/01.index",[2328,2330,2334,2338],{"title":2329,"path":2325,"stem":2326},"Nginx 课程概览",{"title":2331,"path":2332,"stem":2333},"安装与实验环境","/document/nginx/guide/install","document/55.nginx/01.guide/02.install",{"title":2335,"path":2336,"stem":2337},"配置结构","/document/nginx/guide/configuration","document/55.nginx/01.guide/03.configuration",{"title":2339,"path":2340,"stem":2341},"启动与重载","/document/nginx/guide/lifecycle","document/55.nginx/01.guide/04.lifecycle",{"title":2343,"path":2344,"stem":2345,"children":2346},"发布静态网站","/document/nginx/website","document/55.nginx/02.website/01.index",[2347,2349,2353,2357],{"title":2348,"path":2344,"stem":2345},"静态文件与目录",{"title":2350,"path":2351,"stem":2352},"站点与路径匹配","/document/nginx/website/location","document/55.nginx/02.website/02.location",{"title":2354,"path":2355,"stem":2356},"前端路由与回退","/document/nginx/website/spa-routing","document/55.nginx/02.website/03.spa-routing",{"title":2358,"path":2359,"stem":2360},"缓存与压缩","/document/nginx/website/cache-gzip","document/55.nginx/02.website/04.cache-gzip",{"title":2362,"path":2363,"stem":2364,"children":2365},"代理与服务分流","/document/nginx/proxy","document/55.nginx/03.proxy/01.index",[2366,2368,2372],{"title":2367,"path":2363,"stem":2364},"反向代理入门",{"title":2369,"path":2370,"stem":2371},"转发信息与超时","/document/nginx/proxy/forwarded-headers","document/55.nginx/03.proxy/02.forwarded-headers",{"title":2373,"path":2374,"stem":2375},"负载均衡","/document/nginx/proxy/load-balancing","document/55.nginx/03.proxy/03.load-balancing",{"title":2377,"path":2378,"stem":2379,"children":2380},"排错与发布","/document/nginx/operations","document/55.nginx/04.operations/01.index",[2381,2383,2387],{"title":2382,"path":2378,"stem":2379},"日志与故障排查",{"title":2384,"path":2385,"stem":2386},"大小与速率限制","/document/nginx/operations/request-limits","document/55.nginx/04.operations/02.request-limits",{"title":2388,"path":2389,"stem":2390},"HTTPS 与证书","/document/nginx/operations/https","document/55.nginx/04.operations/03.https",{"title":2392,"icon":2393,"path":2394,"stem":2395,"children":2396,"page":50},"Linux 与服务器基础","i-simple-icons-linux","/document/linux","document/56.linux",[2397,2424,2447],{"title":2398,"path":2399,"stem":2400,"children":2401},"Linux 入门与基本操作","/document/linux/guide","document/56.linux/01.guide/01.index",[2402,2404,2408,2412,2416,2420],{"title":2403,"path":2399,"stem":2400},"Linux 课程概览",{"title":2405,"path":2406,"stem":2407},"文件系统与目录","/document/linux/guide/filesystem","document/56.linux/01.guide/02.filesystem",{"title":2409,"path":2410,"stem":2411},"文件查看与 Vim","/document/linux/guide/editing","document/56.linux/01.guide/03.editing",{"title":2413,"path":2414,"stem":2415},"搜索、管道与重定向","/document/linux/guide/search-pipelines","document/56.linux/01.guide/04.search-pipelines",{"title":2417,"path":2418,"stem":2419},"用户、用户组与权限","/document/linux/guide/permissions","document/56.linux/01.guide/05.permissions",{"title":2421,"path":2422,"stem":2423},"SSH 与文件传输","/document/linux/guide/ssh","document/56.linux/01.guide/06.ssh",{"title":2425,"path":2426,"stem":2427,"children":2428},"Linux 服务器管理","/document/linux/server","document/56.linux/02.server/01.index",[2429,2431,2435,2439,2443],{"title":2430,"path":2426,"stem":2427},"软件包与环境变量",{"title":2432,"path":2433,"stem":2434},"进程与后台运行","/document/linux/server/processes","document/56.linux/02.server/02.processes",{"title":2436,"path":2437,"stem":2438},"systemd 服务管理","/document/linux/server/systemd","document/56.linux/02.server/03.systemd",{"title":2440,"path":2441,"stem":2442},"系统资源与磁盘","/document/linux/server/resources","document/56.linux/02.server/05.resources",{"title":2444,"path":2445,"stem":2446},"系统与应用日志","/document/linux/server/logs","document/56.linux/02.server/06.logs",{"title":2448,"path":2449,"stem":2450,"children":2451},"Shell 与服务器实战","/document/linux/practice","document/56.linux/03.practice/01.index",[2452,2454,2458],{"title":2453,"path":2449,"stem":2450},"Bash 脚本入门",{"title":2455,"path":2456,"stem":2457},"cron 定时任务","/document/linux/practice/cron","document/56.linux/03.practice/02.cron",{"title":2459,"path":2460,"stem":2461},"服务器基础安全","/document/linux/practice/security","document/56.linux/03.practice/03.security",{"title":2463,"icon":2464,"path":2465,"stem":2466,"children":2467,"page":50},"BFF 与多服务架构","i-lucide-network","/document/backend-architecture","document/57.backend-architecture",[2468,2483],{"title":2469,"path":2470,"stem":2471,"children":2472},"BFF 基础与实践","/document/backend-architecture/guide","document/57.backend-architecture/01.guide/01.index",[2473,2475,2479],{"title":2474,"path":2470,"stem":2471},"BFF 概览",{"title":2476,"path":2477,"stem":2478},"接口聚合","/document/backend-architecture/guide/aggregation","document/57.backend-architecture/01.guide/02.aggregation",{"title":2480,"path":2481,"stem":2482},"接口适配与职责边界","/document/backend-architecture/guide/adaptation","document/57.backend-architecture/01.guide/03.adaptation",{"title":2484,"path":2485,"stem":2486,"children":2487},"多服务拆分与协作","/document/backend-architecture/services","document/57.backend-architecture/02.services/01.index",[2488,2490,2494,2498],{"title":2489,"path":2485,"stem":2486},"从单体到多服务",{"title":2491,"path":2492,"stem":2493},"HTTP 服务协作","/document/backend-architecture/services/http-collaboration","document/57.backend-architecture/02.services/02.http-collaboration",{"title":2495,"path":2496,"stem":2497},"统一 API 入口","/document/backend-architecture/services/api-entry","document/57.backend-architecture/02.services/03.api-entry",{"title":2499,"path":2500,"stem":2501},"服务调用故障处理","/document/backend-architecture/services/failure-handling","document/57.backend-architecture/02.services/04.failure-handling",{"title":2503,"icon":2464,"path":2504,"stem":2505,"children":2506,"page":50},"微服务架构","/document/microservices","document/58.microservices",[2507,2526,2545],{"title":2508,"path":2509,"stem":2510,"children":2511},"微服务架构与设计","/document/microservices/guide","document/58.microservices/01.guide/01.index",[2512,2514,2518,2522],{"title":2513,"path":2509,"stem":2510},"微服务架构简介",{"title":2515,"path":2516,"stem":2517},"微服务的设计与拆分","/document/microservices/guide/service-design","document/58.microservices/01.guide/02.service-design",{"title":2519,"path":2520,"stem":2521},"项目结构与搭建","/document/microservices/guide/project-setup","document/58.microservices/01.guide/03.project-setup",{"title":2523,"path":2524,"stem":2525},"服务通信与发现","/document/microservices/guide/communication-discovery","document/58.microservices/01.guide/04.communication-discovery",{"title":2527,"path":2528,"stem":2529,"children":2530},"微服务业务开发","/document/microservices/development","document/58.microservices/02.development/01.index",[2531,2533,2537,2541],{"title":2532,"path":2528,"stem":2529},"数据库设计",{"title":2534,"path":2535,"stem":2536},"业务事件","/document/microservices/development/business-events","document/58.microservices/02.development/02.business-events",{"title":2538,"path":2539,"stem":2540},"分布式事务与数据一致性","/document/microservices/development/distributed-transactions","document/58.microservices/02.development/03.distributed-transactions",{"title":2542,"path":2543,"stem":2544},"容错与可靠性","/document/microservices/development/resilience","document/58.microservices/02.development/04.resilience",{"title":2546,"path":2547,"stem":2548,"children":2549},"微服务运行与治理","/document/microservices/operations","document/58.microservices/03.operations/01.index",[2550,2552,2556],{"title":2551,"path":2547,"stem":2548},"安全",{"title":2553,"path":2554,"stem":2555},"可观测性","/document/microservices/operations/observability","document/58.microservices/03.operations/02.observability",{"title":2557,"path":2558,"stem":2559},"部署与扩容","/document/microservices/operations/deployment-scaling","document/58.microservices/03.operations/04.deployment-scaling",{"title":2561,"icon":2562,"path":2563,"stem":2564,"children":2565,"page":50},"Kubernetes 应用部署","i-simple-icons-kubernetes","/document/kubernetes","document/59.kubernetes",[2566,2589],{"title":2567,"path":2568,"stem":2569,"children":2570},"Kubernetes 基础与应用部署","/document/kubernetes/guide","document/59.kubernetes/01.guide/01.index",[2571,2573,2577,2581,2585],{"title":2572,"path":2568,"stem":2569},"Kubernetes 简介",{"title":2574,"path":2575,"stem":2576},"环境搭建与基本操作","/document/kubernetes/guide/setup","document/59.kubernetes/01.guide/02.setup",{"title":2578,"path":2579,"stem":2580},"Pod","/document/kubernetes/guide/pod","document/59.kubernetes/01.guide/03.pod",{"title":2582,"path":2583,"stem":2584},"Deployment","/document/kubernetes/guide/deployment","document/59.kubernetes/01.guide/04.deployment",{"title":2586,"path":2587,"stem":2588},"Service","/document/kubernetes/guide/service","document/59.kubernetes/01.guide/05.service",{"title":2590,"path":2591,"stem":2592,"children":2593,"page":50},"服务配置与运行管理","/document/kubernetes/management","document/59.kubernetes/02.management",[2594,2598,2602,2606,2610,2614,2618],{"title":2595,"path":2596,"stem":2597},"Gateway API","/document/kubernetes/management/gateway-api","document/59.kubernetes/02.management/06.gateway-api",{"title":2599,"path":2600,"stem":2601},"ConfigMap 与 Secret","/document/kubernetes/management/configmap-secret","document/59.kubernetes/02.management/07.configmap-secret",{"title":2603,"path":2604,"stem":2605},"健康检查","/document/kubernetes/management/probes","document/59.kubernetes/02.management/08.probes",{"title":2607,"path":2608,"stem":2609},"资源请求与限制","/document/kubernetes/management/resources","document/59.kubernetes/02.management/09.resources",{"title":2611,"path":2612,"stem":2613},"滚动更新与回滚","/document/kubernetes/management/rolling-update","document/59.kubernetes/02.management/10.rolling-update",{"title":2615,"path":2616,"stem":2617},"扩容与自动伸缩","/document/kubernetes/management/autoscaling","document/59.kubernetes/02.management/11.autoscaling",{"title":2619,"path":2620,"stem":2621},"存储与持久化","/document/kubernetes/management/storage","document/59.kubernetes/02.management/12.storage",{"title":2623,"icon":2624,"path":2625,"stem":2626,"children":2627,"page":50},"LLM 基础","i-lucide-brain","/document/llm","document/60.llm",[2628,2651,2670],{"title":2629,"path":2630,"stem":2631,"children":2632},"大语言模型基础","/document/llm/guide","document/60.llm/01.guide/01.index",[2633,2635,2639,2643,2647],{"title":2634,"path":2630,"stem":2631},"大语言模型简介",{"title":2636,"path":2637,"stem":2638},"大语言模型的工作原理","/document/llm/guide/how-llms-work","document/60.llm/01.guide/02.how-llms-work",{"title":2640,"path":2641,"stem":2642},"Token 与上下文窗口","/document/llm/guide/tokens-and-context-window","document/60.llm/01.guide/03.tokens-and-context-window",{"title":2644,"path":2645,"stem":2646},"模型类型与参数","/document/llm/guide/model-types-and-parameters","document/60.llm/01.guide/04.model-types-and-parameters",{"title":2648,"path":2649,"stem":2650},"Embedding 与语义表示","/document/llm/guide/embeddings","document/60.llm/01.guide/05.embeddings",{"title":2652,"path":2653,"stem":2654,"children":2655},"Prompt Engineering","/document/llm/prompt-engineering","document/60.llm/02.prompt-engineering/01.index",[2656,2658,2662,2666],{"title":2657,"path":2653,"stem":2654},"提示词工程简介",{"title":2659,"path":2660,"stem":2661},"角色设定与指令设计","/document/llm/prompt-engineering/roles-and-instructions","document/60.llm/02.prompt-engineering/02.roles-and-instructions",{"title":2663,"path":2664,"stem":2665},"Few-shot 与示例引导","/document/llm/prompt-engineering/few-shot","document/60.llm/02.prompt-engineering/03.few-shot",{"title":2667,"path":2668,"stem":2669},"结构化输出与复杂任务提示","/document/llm/prompt-engineering/structured-output-and-complex-tasks","document/60.llm/02.prompt-engineering/04.structured-output-and-complex-tasks",{"title":2671,"path":2672,"stem":2673,"children":2674},"上下文工程与实践","/document/llm/context-engineering","document/60.llm/03.context-engineering/01.index",[2675,2677,2681],{"title":2676,"path":2672,"stem":2673},"上下文工程基础",{"title":2678,"path":2679,"stem":2680},"提示词测试与优化","/document/llm/context-engineering/prompt-testing-and-optimization","document/60.llm/03.context-engineering/02.prompt-testing-and-optimization",{"title":2682,"path":2683,"stem":2684},"提示词综合实践","/document/llm/context-engineering/prompt-practice","document/60.llm/03.context-engineering/03.prompt-practice",{"id":2686,"title":2578,"body":2687,"description":4642,"extension":4643,"links":4644,"meta":4645,"navigation":4646,"path":2579,"seo":4647,"stem":2580,"__hash__":4648},"docs/document/59.kubernetes/01.guide/03.pod.md",{"type":2688,"value":2689,"toc":4622},"minimal",[2690,2695,2699,2706,2722,2725,2729,2739,2746,2810,2813,2834,2841,2852,2854,2858,2861,2868,2873,2880,2888,2894,3072,3077,3389,3398,3402,3452,3467,3471,3477,3501,3504,3510,3524,3530,3534,3537,3561,3564,3570,3576,3582,3584,3588,3597,3733,3745,3854,3868,3881,3883,3887,3890,3894,3899,3918,3921,3927,3933,3937,3964,3967,3973,3986,4059,4081,4085,4107,4110,4116,4129,4133,4151,4157,4163,4170,4174,4187,4222,4228,4250,4252,4258,4264,4270,4283,4289,4331,4334,4346,4349,4375,4382,4400,4402,4406,4413,4416,4432,4434,4440,4443,4460,4463,4469,4476,4479,4485,4487,4491,4496,4499,4508,4514,4519,4522,4524,4528,4535,4588,4601,4607,4613,4615,4618],[2691,2692,2694],"h2",{"id":2693},"引言","🎯 引言",[2696,2697,2698],"p",{},"上一篇我们用 kind 创建了 Kubernetes 集群，还学会了用 kubectl 查看节点、创建 Namespace。但集群里还没有运行自己的 Node.js 应用。",[2696,2700,2701,2702,2705],{},"在 Docker 中，我们可以直接启动一个容器；在 Kubernetes 中，应用容器通常运行在 ",[2703,2704,2578],"strong",{}," 里。Pod 到底是什么？它和容器、Node 有什么区别？又该怎样确认应用已经运行，并从电脑上访问它？",[2696,2707,2708,2709,2713,2714,2717,2718,2721],{},"本篇继续使用上一篇的 ",[2710,2711,2712],"code",{},"node-course"," 集群和 ",[2710,2715,2716],{},"course"," Namespace，亲手运行一个简单的 Node.js 订单服务，完成 ",[2703,2719,2720],{},"准备镜像 → 创建 Pod → 查看状态 → 访问应用 → 删除 Pod"," 的完整过程。每一步都附有模拟输出，即使暂时不操作，也能理解执行效果。",[2723,2724],"hr",{},[2691,2726,2728],{"id":2727},"pod-为什么存在","🧱 Pod 为什么存在",[2696,2730,2731,2732,2735,2736,2738],{},"上一篇已经知道，",[2703,2733,2734],{},"Node 是集群中的机器","。如果 Kubernetes 需要把订单服务安排到某个 Node 上运行，它实际安排的基本单位就是 ",[2703,2737,2578],{},"。",[2696,2740,2741,2742,2745],{},"一个 Pod 中可以运行一个或多个容器。对于普通的 Node.js 服务，通常先按 ",[2703,2743,2744],{},"一个 Pod 运行一个应用容器"," 来理解。",[2747,2748,2753],"pre",{"className":2749,"code":2750,"language":2751,"meta":2752,"style":2752},"language-mermaid shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","flowchart TB\n    subgraph NODE[\"Node：集群中的机器\"]\n        subgraph POD1[\"Pod A\"]\n            C1[\"Container：Node.js 订单服务\"]\n        end\n        subgraph POD2[\"Pod B\"]\n            C2[\"Container：另一份订单服务\"]\n        end\n    end\n","mermaid","",[2710,2754,2755,2763,2769,2775,2781,2787,2793,2799,2804],{"__ignoreMap":2752},[2756,2757,2760],"span",{"class":2758,"line":2759},"line",1,[2756,2761,2762],{},"flowchart TB\n",[2756,2764,2766],{"class":2758,"line":2765},2,[2756,2767,2768],{},"    subgraph NODE[\"Node：集群中的机器\"]\n",[2756,2770,2772],{"class":2758,"line":2771},3,[2756,2773,2774],{},"        subgraph POD1[\"Pod A\"]\n",[2756,2776,2778],{"class":2758,"line":2777},4,[2756,2779,2780],{},"            C1[\"Container：Node.js 订单服务\"]\n",[2756,2782,2784],{"class":2758,"line":2783},5,[2756,2785,2786],{},"        end\n",[2756,2788,2790],{"class":2758,"line":2789},6,[2756,2791,2792],{},"        subgraph POD2[\"Pod B\"]\n",[2756,2794,2796],{"class":2758,"line":2795},7,[2756,2797,2798],{},"            C2[\"Container：另一份订单服务\"]\n",[2756,2800,2802],{"class":2758,"line":2801},8,[2756,2803,2786],{},[2756,2805,2807],{"class":2758,"line":2806},9,[2756,2808,2809],{},"    end\n",[2696,2811,2812],{},"从图中可以看到：",[2814,2815,2816,2823,2828],"ul",{},[2817,2818,2819,2822],"li",{},[2703,2820,2821],{},"Node"," 提供 CPU、内存等运行资源，一台 Node 可以运行多个 Pod。",[2817,2824,2825,2827],{},[2703,2826,2578],{}," 是 Kubernetes 部署和调度应用的基本单位，不是另一台服务器。",[2817,2829,2830,2833],{},[2703,2831,2832],{},"Container（容器）"," 才是真正执行 Node.js 程序的地方。",[2696,2835,2836,2837,2840],{},"为什么不是直接管理容器？因为 Kubernetes 需要一个统一的单位来安排应用运行，并为同一个 Pod 内的容器提供共同的运行环境。例如，同一个 Pod 内的容器共享网络空间，可以通过 ",[2710,2838,2839],{},"localhost"," 访问彼此的端口。这篇只使用一个容器，不展开多容器场景。",[2696,2842,2843,2844,2847,2848,2851],{},"需要先分清两种情况：",[2703,2845,2846],{},"Pod 里的容器进程退出","，Kubernetes 通常会按重启策略尝试重启容器；但如果 ",[2703,2849,2850],{},"手动删除一个没有控制器管理的 Pod","，它不会自动重新创建。后面会实际验证第二种情况。",[2723,2853],{},[2691,2855,2857],{"id":2856},"先准备可运行的订单镜像","🛠 先准备可运行的订单镜像",[2696,2859,2860],{},"Pod 需要知道运行什么镜像。为了让示例不依赖额外的下载链接，我们直接创建一个最小的 Express 订单服务。",[2696,2862,2863,2864,2867],{},"如果你已经有课程配套的订单服务项目，也可以沿用它；但这篇的代码和后面的输出均以",[2703,2865,2866],{},"下面这个最小示例","为准。",[2869,2870,2872],"h3",{"id":2871},"_1-创建-nodejs-项目","1. 创建 Node.js 项目",[2696,2874,2875,2876,2879],{},"新建 ",[2710,2877,2878],{},"orders-app"," 文件夹，放入以下文件：",[2747,2881,2886],{"className":2882,"code":2884,"language":2885,"meta":2752},[2883],"language-text","orders-app/\n├── package.json\n├── server.js\n└── Dockerfile\n","text",[2710,2887,2884],{"__ignoreMap":2752},[2696,2889,2890,2893],{},[2710,2891,2892],{},"package.json","：",[2747,2895,2899],{"className":2896,"code":2897,"language":2898,"meta":2752,"style":2752},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"name\": \"course-orders\",\n  \"version\": \"1.0.0\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"start\": \"node server.js\"\n  },\n  \"dependencies\": {\n    \"express\": \"5.1.0\"\n  }\n}\n","json",[2710,2900,2901,2907,2934,2954,2968,2988,3002,3023,3028,3041,3060,3066],{"__ignoreMap":2752},[2756,2902,2903],{"class":2758,"line":2759},[2756,2904,2906],{"class":2905},"s86vT","{\n",[2756,2908,2909,2912,2916,2919,2922,2925,2929,2931],{"class":2758,"line":2765},[2756,2910,2911],{"class":2905},"  \"",[2756,2913,2915],{"class":2914},"s50WR","name",[2756,2917,2918],{"class":2905},"\"",[2756,2920,2921],{"class":2905},":",[2756,2923,2924],{"class":2905}," \"",[2756,2926,2928],{"class":2927},"sIEYB","course-orders",[2756,2930,2918],{"class":2905},[2756,2932,2933],{"class":2905},",\n",[2756,2935,2936,2938,2941,2943,2945,2947,2950,2952],{"class":2758,"line":2771},[2756,2937,2911],{"class":2905},[2756,2939,2940],{"class":2914},"version",[2756,2942,2918],{"class":2905},[2756,2944,2921],{"class":2905},[2756,2946,2924],{"class":2905},[2756,2948,2949],{"class":2927},"1.0.0",[2756,2951,2918],{"class":2905},[2756,2953,2933],{"class":2905},[2756,2955,2956,2958,2961,2963,2965],{"class":2758,"line":2777},[2756,2957,2911],{"class":2905},[2756,2959,2960],{"class":2914},"private",[2756,2962,2918],{"class":2905},[2756,2964,2921],{"class":2905},[2756,2966,2967],{"class":2905}," true,\n",[2756,2969,2970,2972,2975,2977,2979,2981,2984,2986],{"class":2758,"line":2783},[2756,2971,2911],{"class":2905},[2756,2973,2974],{"class":2914},"type",[2756,2976,2918],{"class":2905},[2756,2978,2921],{"class":2905},[2756,2980,2924],{"class":2905},[2756,2982,2983],{"class":2927},"module",[2756,2985,2918],{"class":2905},[2756,2987,2933],{"class":2905},[2756,2989,2990,2992,2995,2997,2999],{"class":2758,"line":2789},[2756,2991,2911],{"class":2905},[2756,2993,2994],{"class":2914},"scripts",[2756,2996,2918],{"class":2905},[2756,2998,2921],{"class":2905},[2756,3000,3001],{"class":2905}," {\n",[2756,3003,3004,3007,3011,3013,3015,3017,3020],{"class":2758,"line":2795},[2756,3005,3006],{"class":2905},"    \"",[2756,3008,3010],{"class":3009},"sYGMc","start",[2756,3012,2918],{"class":2905},[2756,3014,2921],{"class":2905},[2756,3016,2924],{"class":2905},[2756,3018,3019],{"class":2927},"node server.js",[2756,3021,3022],{"class":2905},"\"\n",[2756,3024,3025],{"class":2758,"line":2801},[2756,3026,3027],{"class":2905},"  },\n",[2756,3029,3030,3032,3035,3037,3039],{"class":2758,"line":2806},[2756,3031,2911],{"class":2905},[2756,3033,3034],{"class":2914},"dependencies",[2756,3036,2918],{"class":2905},[2756,3038,2921],{"class":2905},[2756,3040,3001],{"class":2905},[2756,3042,3044,3046,3049,3051,3053,3055,3058],{"class":2758,"line":3043},10,[2756,3045,3006],{"class":2905},[2756,3047,3048],{"class":3009},"express",[2756,3050,2918],{"class":2905},[2756,3052,2921],{"class":2905},[2756,3054,2924],{"class":2905},[2756,3056,3057],{"class":2927},"5.1.0",[2756,3059,3022],{"class":2905},[2756,3061,3063],{"class":2758,"line":3062},11,[2756,3064,3065],{"class":2905},"  }\n",[2756,3067,3069],{"class":2758,"line":3068},12,[2756,3070,3071],{"class":2905},"}\n",[2696,3073,3074,2893],{},[2710,3075,3076],{},"server.js",[2747,3078,3082],{"className":3079,"code":3080,"language":3081,"meta":2752,"style":2752},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import express from 'express'\n\nconst app = express()\nconst port = 3000\n\napp.get('/healthz', (req, res) => {\n  res.json({ status: 'ok' })\n})\n\napp.get('/api/info', (req, res) => {\n  res.json({ service: 'orders', version: 'v1' })\n})\n\napp.listen(port, '0.0.0.0', () => {\n  console.log(`订单服务已启动，监听端口 ${port}`)\n})\n","js",[2710,3083,3084,3105,3111,3129,3142,3146,3191,3224,3231,3235,3268,3310,3316,3321,3352,3382],{"__ignoreMap":2752},[2756,3085,3086,3090,3094,3097,3100,3102],{"class":2758,"line":2759},[2756,3087,3089],{"class":3088},"s8pZq","import",[2756,3091,3093],{"class":3092},"sndM8"," express ",[2756,3095,3096],{"class":3088},"from",[2756,3098,3099],{"class":2905}," '",[2756,3101,3048],{"class":2927},[2756,3103,3104],{"class":2905},"'\n",[2756,3106,3107],{"class":2758,"line":2765},[2756,3108,3110],{"emptyLinePlaceholder":3109},true,"\n",[2756,3112,3113,3116,3119,3122,3126],{"class":2758,"line":2771},[2756,3114,3115],{"class":2914},"const",[2756,3117,3118],{"class":3092}," app ",[2756,3120,3121],{"class":2905},"=",[2756,3123,3125],{"class":3124},"swgpB"," express",[2756,3127,3128],{"class":3092},"()\n",[2756,3130,3131,3133,3136,3138],{"class":2758,"line":2777},[2756,3132,3115],{"class":2914},[2756,3134,3135],{"class":3092}," port ",[2756,3137,3121],{"class":2905},[2756,3139,3141],{"class":3140},"smPcV"," 3000\n",[2756,3143,3144],{"class":2758,"line":2783},[2756,3145,3110],{"emptyLinePlaceholder":3109},[2756,3147,3148,3151,3154,3157,3160,3163,3166,3168,3171,3174,3178,3180,3183,3186,3189],{"class":2758,"line":2789},[2756,3149,3150],{"class":3092},"app",[2756,3152,3153],{"class":2905},".",[2756,3155,3156],{"class":3124},"get",[2756,3158,3159],{"class":3092},"(",[2756,3161,3162],{"class":2905},"'",[2756,3164,3165],{"class":2927},"/healthz",[2756,3167,3162],{"class":2905},[2756,3169,3170],{"class":2905},",",[2756,3172,3173],{"class":2905}," (",[2756,3175,3177],{"class":3176},"sK9QF","req",[2756,3179,3170],{"class":2905},[2756,3181,3182],{"class":3176}," res",[2756,3184,3185],{"class":2905},")",[2756,3187,3188],{"class":2914}," =>",[2756,3190,3001],{"class":2905},[2756,3192,3193,3196,3198,3200,3203,3206,3209,3211,3213,3216,3218,3221],{"class":2758,"line":2795},[2756,3194,3195],{"class":3092},"  res",[2756,3197,3153],{"class":2905},[2756,3199,2898],{"class":3124},[2756,3201,3159],{"class":3202},"sd2Uz",[2756,3204,3205],{"class":2905},"{",[2756,3207,3208],{"class":3202}," status",[2756,3210,2921],{"class":2905},[2756,3212,3099],{"class":2905},[2756,3214,3215],{"class":2927},"ok",[2756,3217,3162],{"class":2905},[2756,3219,3220],{"class":2905}," }",[2756,3222,3223],{"class":3202},")\n",[2756,3225,3226,3229],{"class":2758,"line":2801},[2756,3227,3228],{"class":2905},"}",[2756,3230,3223],{"class":3092},[2756,3232,3233],{"class":2758,"line":2806},[2756,3234,3110],{"emptyLinePlaceholder":3109},[2756,3236,3237,3239,3241,3243,3245,3247,3250,3252,3254,3256,3258,3260,3262,3264,3266],{"class":2758,"line":3043},[2756,3238,3150],{"class":3092},[2756,3240,3153],{"class":2905},[2756,3242,3156],{"class":3124},[2756,3244,3159],{"class":3092},[2756,3246,3162],{"class":2905},[2756,3248,3249],{"class":2927},"/api/info",[2756,3251,3162],{"class":2905},[2756,3253,3170],{"class":2905},[2756,3255,3173],{"class":2905},[2756,3257,3177],{"class":3176},[2756,3259,3170],{"class":2905},[2756,3261,3182],{"class":3176},[2756,3263,3185],{"class":2905},[2756,3265,3188],{"class":2914},[2756,3267,3001],{"class":2905},[2756,3269,3270,3272,3274,3276,3278,3280,3283,3285,3287,3290,3292,3294,3297,3299,3301,3304,3306,3308],{"class":2758,"line":3062},[2756,3271,3195],{"class":3092},[2756,3273,3153],{"class":2905},[2756,3275,2898],{"class":3124},[2756,3277,3159],{"class":3202},[2756,3279,3205],{"class":2905},[2756,3281,3282],{"class":3202}," service",[2756,3284,2921],{"class":2905},[2756,3286,3099],{"class":2905},[2756,3288,3289],{"class":2927},"orders",[2756,3291,3162],{"class":2905},[2756,3293,3170],{"class":2905},[2756,3295,3296],{"class":3202}," version",[2756,3298,2921],{"class":2905},[2756,3300,3099],{"class":2905},[2756,3302,3303],{"class":2927},"v1",[2756,3305,3162],{"class":2905},[2756,3307,3220],{"class":2905},[2756,3309,3223],{"class":3202},[2756,3311,3312,3314],{"class":2758,"line":3068},[2756,3313,3228],{"class":2905},[2756,3315,3223],{"class":3092},[2756,3317,3319],{"class":2758,"line":3318},13,[2756,3320,3110],{"emptyLinePlaceholder":3109},[2756,3322,3324,3326,3328,3331,3334,3336,3338,3341,3343,3345,3348,3350],{"class":2758,"line":3323},14,[2756,3325,3150],{"class":3092},[2756,3327,3153],{"class":2905},[2756,3329,3330],{"class":3124},"listen",[2756,3332,3333],{"class":3092},"(port",[2756,3335,3170],{"class":2905},[2756,3337,3099],{"class":2905},[2756,3339,3340],{"class":2927},"0.0.0.0",[2756,3342,3162],{"class":2905},[2756,3344,3170],{"class":2905},[2756,3346,3347],{"class":2905}," ()",[2756,3349,3188],{"class":2914},[2756,3351,3001],{"class":2905},[2756,3353,3355,3358,3360,3363,3365,3368,3371,3374,3377,3380],{"class":2758,"line":3354},15,[2756,3356,3357],{"class":3092},"  console",[2756,3359,3153],{"class":2905},[2756,3361,3362],{"class":3124},"log",[2756,3364,3159],{"class":3202},[2756,3366,3367],{"class":2905},"`",[2756,3369,3370],{"class":2927},"订单服务已启动，监听端口 ",[2756,3372,3373],{"class":2905},"${",[2756,3375,3376],{"class":3092},"port",[2756,3378,3379],{"class":2905},"}`",[2756,3381,3223],{"class":3202},[2756,3383,3385,3387],{"class":2758,"line":3384},16,[2756,3386,3228],{"class":2905},[2756,3388,3223],{"class":3092},[2696,3390,3391,3392,3394,3395,3397],{},"这两个接口用途不同：",[2710,3393,3165],{}," 用于简单确认程序能响应请求；",[2710,3396,3249],{}," 用于查看当前运行的服务和版本。这里没有连接数据库，方便把注意力放在 Pod 上。",[2696,3399,3400,2893],{},[2710,3401,1348],{},[2747,3403,3407],{"className":3404,"code":3405,"language":3406,"meta":2752,"style":2752},"language-dockerfile shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","FROM node:22-alpine\n\nWORKDIR /app\nCOPY package.json ./\nRUN npm install --omit=dev\nCOPY server.js ./\n\nEXPOSE 3000\nCMD [\"npm\", \"start\"]\n","dockerfile",[2710,3408,3409,3414,3418,3423,3428,3433,3438,3442,3447],{"__ignoreMap":2752},[2756,3410,3411],{"class":2758,"line":2759},[2756,3412,3413],{},"FROM node:22-alpine\n",[2756,3415,3416],{"class":2758,"line":2765},[2756,3417,3110],{"emptyLinePlaceholder":3109},[2756,3419,3420],{"class":2758,"line":2771},[2756,3421,3422],{},"WORKDIR /app\n",[2756,3424,3425],{"class":2758,"line":2777},[2756,3426,3427],{},"COPY package.json ./\n",[2756,3429,3430],{"class":2758,"line":2783},[2756,3431,3432],{},"RUN npm install --omit=dev\n",[2756,3434,3435],{"class":2758,"line":2789},[2756,3436,3437],{},"COPY server.js ./\n",[2756,3439,3440],{"class":2758,"line":2795},[2756,3441,3110],{"emptyLinePlaceholder":3109},[2756,3443,3444],{"class":2758,"line":2801},[2756,3445,3446],{},"EXPOSE 3000\n",[2756,3448,3449],{"class":2758,"line":2806},[2756,3450,3451],{},"CMD [\"npm\", \"start\"]\n",[2696,3453,3454,3455,3458,3459,3462,3463,3466],{},"这份 Dockerfile 使用 Node.js 22 镜像，在容器内安装依赖、复制程序并启动服务。",[2710,3456,3457],{},"EXPOSE 3000"," 只是说明程序使用的端口，并不会自动把它开放到电脑上。为了让示例尽量短，这里不提供锁文件；实际项目更建议提交 ",[2710,3460,3461],{},"package-lock.json"," 并使用 ",[2710,3464,3465],{},"npm ci"," 构建。",[2869,3468,3470],{"id":3469},"_2-构建-docker-镜像","2. 构建 Docker 镜像",[2696,3472,3473,3474,3476],{},"确保 Docker 已启动，在 ",[2710,3475,2878],{}," 目录执行：",[2747,3478,3482],{"className":3479,"code":3480,"language":3481,"meta":2752,"style":2752},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","docker build -t course-orders:v1 .\n","bash",[2710,3483,3484],{"__ignoreMap":2752},[2756,3485,3486,3489,3492,3495,3498],{"class":2758,"line":2759},[2756,3487,3488],{"class":3009},"docker",[2756,3490,3491],{"class":2927}," build",[2756,3493,3494],{"class":2927}," -t",[2756,3496,3497],{"class":2927}," course-orders:v1",[2756,3499,3500],{"class":2927}," .\n",[2696,3502,3503],{},"模拟输出（构建步骤和耗时因环境而异）：",[2747,3505,3508],{"className":3506,"code":3507,"language":2885,"meta":2752},[2883],"[+] Building ... FINISHED\n => [internal] load build definition from Dockerfile\n => [1/4] FROM docker.io/library/node:22-alpine\n => [2/4] WORKDIR /app\n => [3/5] COPY package.json ./\n => [4/5] RUN npm install --omit=dev\n => [5/5] COPY server.js ./\n => exporting to image\n => => naming to docker.io/library/course-orders:v1\n",[2710,3509,3507],{"__ignoreMap":2752},[2696,3511,3512,3513,3516,3517,3519,3520,3523],{},"其中 ",[2710,3514,3515],{},"-t course-orders:v1"," 给镜像指定名称和版本标签；末尾的 ",[2710,3518,3153],{}," 表示使用当前目录作为构建上下文。看到构建成功，并出现 ",[2710,3521,3522],{},"course-orders:v1"," 镜像名称，就可以继续。",[3525,3526,3527],"blockquote",{},[2696,3528,3529],{},"上面只列出关键日志行，不代表 Docker 每次都输出完全一样的内容。",[2869,3531,3533],{"id":3532},"_3-把镜像加载到-kind-集群","3. 把镜像加载到 kind 集群",[2696,3535,3536],{},"虽然镜像已经构建在本机 Docker 中，但 kind 的节点有自己的容器镜像存储。要让 Kubernetes 节点找到它，还需要执行：",[2747,3538,3540],{"className":3479,"code":3539,"language":3481,"meta":2752,"style":2752},"kind load docker-image course-orders:v1 --name node-course\n",[2710,3541,3542],{"__ignoreMap":2752},[2756,3543,3544,3547,3550,3553,3555,3558],{"class":2758,"line":2759},[2756,3545,3546],{"class":3009},"kind",[2756,3548,3549],{"class":2927}," load",[2756,3551,3552],{"class":2927}," docker-image",[2756,3554,3497],{"class":2927},[2756,3556,3557],{"class":2927}," --name",[2756,3559,3560],{"class":2927}," node-course\n",[2696,3562,3563],{},"模拟输出：",[2747,3565,3568],{"className":3566,"code":3567,"language":2885,"meta":2752},[2883],"Image: \"course-orders:v1\" with ID \"sha256:...\" not yet present on node \"node-course-control-plane\", loading...\n",[2710,3569,3567],{"__ignoreMap":2752},[2696,3571,3572,3573,3575],{},"这表示 kind 正在把本机镜像加载到 ",[2710,3574,2712],{}," 集群节点。镜像 ID 会因构建结果而不同；重复加载时，输出也可能不一样。",[2696,3577,3578,3579],{},"这里不用镜像仓库，因为我们只在本地练习。",[2703,3580,3581],{},"后续 Pod 使用的镜像名称必须与这里一致。",[2723,3583],{},[2691,3585,3587],{"id":3586},"写第一份-pod-配置","🧩 写第一份 Pod 配置",[2696,3589,3590,3591,3593,3594,2893],{},"在 ",[2710,3592,2878],{}," 目录中新建 ",[2710,3595,3596],{},"pod.yaml",[2747,3598,3602],{"className":3599,"code":3600,"language":3601,"meta":2752,"style":2752},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","apiVersion: v1\nkind: Pod\nmetadata:\n  name: orders-demo\n  namespace: course\n  labels:\n    app: orders\nspec:\n  containers:\n    - name: orders\n      image: course-orders:v1\n      imagePullPolicy: IfNotPresent\n      ports:\n        - containerPort: 3000\n","yaml",[2710,3603,3604,3614,3623,3631,3641,3651,3658,3668,3675,3682,3694,3704,3714,3721],{"__ignoreMap":2752},[2756,3605,3606,3609,3611],{"class":2758,"line":2759},[2756,3607,3608],{"class":3202},"apiVersion",[2756,3610,2921],{"class":2905},[2756,3612,3613],{"class":2927}," v1\n",[2756,3615,3616,3618,3620],{"class":2758,"line":2765},[2756,3617,3546],{"class":3202},[2756,3619,2921],{"class":2905},[2756,3621,3622],{"class":2927}," Pod\n",[2756,3624,3625,3628],{"class":2758,"line":2771},[2756,3626,3627],{"class":3202},"metadata",[2756,3629,3630],{"class":2905},":\n",[2756,3632,3633,3636,3638],{"class":2758,"line":2777},[2756,3634,3635],{"class":3202},"  name",[2756,3637,2921],{"class":2905},[2756,3639,3640],{"class":2927}," orders-demo\n",[2756,3642,3643,3646,3648],{"class":2758,"line":2783},[2756,3644,3645],{"class":3202},"  namespace",[2756,3647,2921],{"class":2905},[2756,3649,3650],{"class":2927}," course\n",[2756,3652,3653,3656],{"class":2758,"line":2789},[2756,3654,3655],{"class":3202},"  labels",[2756,3657,3630],{"class":2905},[2756,3659,3660,3663,3665],{"class":2758,"line":2795},[2756,3661,3662],{"class":3202},"    app",[2756,3664,2921],{"class":2905},[2756,3666,3667],{"class":2927}," orders\n",[2756,3669,3670,3673],{"class":2758,"line":2801},[2756,3671,3672],{"class":3202},"spec",[2756,3674,3630],{"class":2905},[2756,3676,3677,3680],{"class":2758,"line":2806},[2756,3678,3679],{"class":3202},"  containers",[2756,3681,3630],{"class":2905},[2756,3683,3684,3687,3690,3692],{"class":2758,"line":3043},[2756,3685,3686],{"class":2905},"    -",[2756,3688,3689],{"class":3202}," name",[2756,3691,2921],{"class":2905},[2756,3693,3667],{"class":2927},[2756,3695,3696,3699,3701],{"class":2758,"line":3062},[2756,3697,3698],{"class":3202},"      image",[2756,3700,2921],{"class":2905},[2756,3702,3703],{"class":2927}," course-orders:v1\n",[2756,3705,3706,3709,3711],{"class":2758,"line":3068},[2756,3707,3708],{"class":3202},"      imagePullPolicy",[2756,3710,2921],{"class":2905},[2756,3712,3713],{"class":2927}," IfNotPresent\n",[2756,3715,3716,3719],{"class":2758,"line":3318},[2756,3717,3718],{"class":3202},"      ports",[2756,3720,3630],{"class":2905},[2756,3722,3723,3726,3729,3731],{"class":2758,"line":3323},[2756,3724,3725],{"class":2905},"        -",[2756,3727,3728],{"class":3202}," containerPort",[2756,3730,2921],{"class":2905},[2756,3732,3141],{"class":3140},[2696,3734,3735,3736,3738,3739,3741,3742,3744],{},"上一篇已经认识 ",[2710,3737,3608],{},"、",[2710,3740,3546],{}," 和 ",[2710,3743,3627],{},"。这次重点看新增字段：",[3746,3747,3748,3761],"table",{},[3749,3750,3751],"thead",{},[3752,3753,3754,3758],"tr",{},[3755,3756,3757],"th",{},"字段",[3755,3759,3760],{},"作用",[3762,3763,3764,3775,3788,3801,3811,3821,3834,3844],"tbody",{},[3752,3765,3766,3772],{},[3767,3768,3769],"td",{},[2710,3770,3771],{},"kind: Pod",[3767,3773,3774],{},"要创建的资源类型是 Pod",[3752,3776,3777,3782],{},[3767,3778,3779],{},[2710,3780,3781],{},"metadata.name",[3767,3783,3784,3785],{},"Pod 的名称是 ",[2710,3786,3787],{},"orders-demo",[3752,3789,3790,3795],{},[3767,3791,3792],{},[2710,3793,3794],{},"metadata.namespace",[3767,3796,3797,3798,3800],{},"放到上一篇创建的 ",[2710,3799,2716],{}," Namespace 中",[3752,3802,3803,3808],{},[3767,3804,3805],{},[2710,3806,3807],{},"metadata.labels",[3767,3809,3810],{},"给 Pod 添加标记，方便后续按标签识别资源",[3752,3812,3813,3818],{},[3767,3814,3815],{},[2710,3816,3817],{},"spec.containers",[3767,3819,3820],{},"定义 Pod 内要运行的容器",[3752,3822,3823,3828],{},[3767,3824,3825],{},[2710,3826,3827],{},"image",[3767,3829,3830,3831,3833],{},"使用刚才构建并加载的 ",[2710,3832,3522],{}," 镜像",[3752,3835,3836,3841],{},[3767,3837,3838],{},[2710,3839,3840],{},"imagePullPolicy: IfNotPresent",[3767,3842,3843],{},"节点已有该镜像时直接使用；没有时才尝试拉取",[3752,3845,3846,3851],{},[3767,3847,3848],{},[2710,3849,3850],{},"containerPort: 3000",[3767,3852,3853],{},"声明应用容器使用 3000 端口，并不代表已对外开放",[2696,3855,3856,3857,3859,3860,3863,3864,3867],{},"这里的 ",[2710,3858,3672],{}," 可以理解为 ",[2703,3861,3862],{},"希望这个 Pod 怎样运行","。由于我们已经用 kind 把镜像加载到节点，",[2710,3865,3866],{},"IfNotPresent"," 可以让节点优先使用本地镜像。",[3869,3870,3871],"warning",{},[2696,3872,3873,3874,3876,3877,3880],{},"如果前一篇没有创建 ",[2710,3875,2716],{}," Namespace，请先执行 ",[2710,3878,3879],{},"kubectl create namespace course","。如果该 Namespace 已存在，就不需要重复创建。",[2723,3882],{},[2691,3884,3886],{"id":3885},"启动观察和访问","🔎 启动、观察和访问",[2696,3888,3889],{},"这一节的每条关键命令都包含模拟输出和判断方法。输出中的时间、IP、事件信息可能与实际环境不同。",[2869,3891,3893],{"id":3892},"_1-创建-pod","1. 创建 Pod",[2696,3895,3590,3896,3898],{},[2710,3897,3596],{}," 所在目录执行：",[2747,3900,3902],{"className":3479,"code":3901,"language":3481,"meta":2752,"style":2752},"kubectl apply -f pod.yaml\n",[2710,3903,3904],{"__ignoreMap":2752},[2756,3905,3906,3909,3912,3915],{"class":2758,"line":2759},[2756,3907,3908],{"class":3009},"kubectl",[2756,3910,3911],{"class":2927}," apply",[2756,3913,3914],{"class":2927}," -f",[2756,3916,3917],{"class":2927}," pod.yaml\n",[2696,3919,3920],{},"首次创建成功时，模拟输出：",[2747,3922,3925],{"className":3923,"code":3924,"language":2885,"meta":2752},[2883],"pod/orders-demo created\n",[2710,3926,3924],{"__ignoreMap":2752},[2696,3928,3929,3930,2738],{},"这表示 Kubernetes 已接收创建请求，",[2703,3931,3932],{},"不代表程序此刻已经运行就绪",[2869,3934,3936],{"id":3935},"_2-查看-pod-状态","2. 查看 Pod 状态",[2747,3938,3940],{"className":3479,"code":3939,"language":3481,"meta":2752,"style":2752},"kubectl get pods -n course -o wide\n",[2710,3941,3942],{"__ignoreMap":2752},[2756,3943,3944,3946,3949,3952,3955,3958,3961],{"class":2758,"line":2759},[2756,3945,3908],{"class":3009},[2756,3947,3948],{"class":2927}," get",[2756,3950,3951],{"class":2927}," pods",[2756,3953,3954],{"class":2927}," -n",[2756,3956,3957],{"class":2927}," course",[2756,3959,3960],{"class":2927}," -o",[2756,3962,3963],{"class":2927}," wide\n",[2696,3965,3966],{},"等待 Pod 启动后，模拟输出：",[2747,3968,3971],{"className":3969,"code":3970,"language":2885,"meta":2752},[2883],"NAME          READY   STATUS    RESTARTS   AGE   IP           NODE\norders-demo   1/1     Running   0          35s   10.244.0.5   node-course-control-plane\n",[2710,3972,3970],{"__ignoreMap":2752},[2696,3974,3856,3975,3978,3979,3981,3982,3985],{},[2710,3976,3977],{},"-n course"," 表示只查看 ",[2710,3980,2716],{}," Namespace；",[2710,3983,3984],{},"-o wide"," 表示显示更多列。",[3746,3987,3988,3997],{},[3749,3989,3990],{},[3752,3991,3992,3994],{},[3755,3993,3757],{},[3755,3995,3996],{},"含义",[3762,3998,3999,4013,4029,4039,4049],{},[3752,4000,4001,4006],{},[3767,4002,4003],{},[2710,4004,4005],{},"READY",[3767,4007,4008,4009,4012],{},"已就绪容器数 / 容器总数；",[2710,4010,4011],{},"1/1"," 表示唯一的容器已经就绪",[3752,4014,4015,4020],{},[3767,4016,4017],{},[2710,4018,4019],{},"STATUS",[3767,4021,4022,4023,3738,4026],{},"当前展示的 Pod 状态，例如 ",[2710,4024,4025],{},"Pending",[2710,4027,4028],{},"Running",[3752,4030,4031,4036],{},[3767,4032,4033],{},[2710,4034,4035],{},"RESTARTS",[3767,4037,4038],{},"容器重启次数",[3752,4040,4041,4046],{},[3767,4042,4043],{},[2710,4044,4045],{},"IP",[3767,4047,4048],{},"集群内分配给 Pod 的 IP，不是电脑的公开访问地址",[3752,4050,4051,4056],{},[3767,4052,4053],{},[2710,4054,4055],{},"NODE",[3767,4057,4058],{},"Pod 运行在哪个 Node 上",[2696,4060,4061,4062,4064,4065,4068,4069,4071,4072,4080],{},"刚创建时，可能先看到 ",[2710,4063,4025],{}," 或 ",[2710,4066,4067],{},"ContainerCreating","，稍后才变成 ",[2710,4070,4028],{},"。本例未设置应用健康检查探针，因此 ",[2703,4073,4074,3741,4076,4079],{},[2710,4075,4028],{},[2710,4077,4078],{},"READY 1/1"," 也不能完全保证业务接口正常","；接下来还要实际访问它。",[2869,4082,4084],{"id":4083},"_3-查看-pod-详细信息","3. 查看 Pod 详细信息",[2747,4086,4088],{"className":3479,"code":4087,"language":3481,"meta":2752,"style":2752},"kubectl describe pod orders-demo -n course\n",[2710,4089,4090],{"__ignoreMap":2752},[2756,4091,4092,4094,4097,4100,4103,4105],{"class":2758,"line":2759},[2756,4093,3908],{"class":3009},[2756,4095,4096],{"class":2927}," describe",[2756,4098,4099],{"class":2927}," pod",[2756,4101,4102],{"class":2927}," orders-demo",[2756,4104,3954],{"class":2927},[2756,4106,3650],{"class":2927},[2696,4108,4109],{},"模拟输出节选：",[2747,4111,4114],{"className":4112,"code":4113,"language":2885,"meta":2752},[2883],"Name:             orders-demo\nNamespace:        course\nNode:             node-course-control-plane/...\nStatus:           Running\nContainers:\n  orders:\n    Image:          course-orders:v1\n    State:          Running\n    Ready:          True\nEvents:\n  Type    Reason     Message\n  ----    ------     -------\n  Normal  Scheduled  Successfully assigned course/orders-demo to node-course-control-plane\n  Normal  Started    Started container orders\n",[2710,4115,4113],{"__ignoreMap":2752},[2696,4117,4118,4121,4122,3741,4125,4128],{},[2710,4119,4120],{},"describe"," 可以查看 Pod 所在节点、容器使用的镜像、运行状态和近期事件（Events）。排查启动失败时，尤其要注意 ",[2710,4123,4124],{},"State",[2710,4126,4127],{},"Events","。事件内容随环境变化，不一定和示例完全一致。",[2869,4130,4132],{"id":4131},"_4-查看-nodejs-程序日志","4. 查看 Node.js 程序日志",[2747,4134,4136],{"className":3479,"code":4135,"language":3481,"meta":2752,"style":2752},"kubectl logs orders-demo -n course\n",[2710,4137,4138],{"__ignoreMap":2752},[2756,4139,4140,4142,4145,4147,4149],{"class":2758,"line":2759},[2756,4141,3908],{"class":3009},[2756,4143,4144],{"class":2927}," logs",[2756,4146,4102],{"class":2927},[2756,4148,3954],{"class":2927},[2756,4150,3650],{"class":2927},[2696,4152,4153,4154,4156],{},"根据前面的 ",[2710,4155,3076],{},"，模拟输出：",[2747,4158,4161],{"className":4159,"code":4160,"language":2885,"meta":2752},[2883],"> course-orders@1.0.0 start\n> node server.js\n\n订单服务已启动，监听端口 3000\n",[2710,4162,4160],{"__ignoreMap":2752},[2696,4164,4165,4166,4169],{},"这说明容器运行了 ",[2710,4167,4168],{},"npm start","，并输出了 Node.js 程序的启动日志。",[2869,4171,4173],{"id":4172},"_5-从电脑访问-pod-内的服务","5. 从电脑访问 Pod 内的服务",[2696,4175,4176,4177,4179,4180,4183,4184,2738],{},"此时 Pod 已在 Kubernetes 集群内运行，但 ",[2710,4178,3850],{}," ",[2703,4181,4182],{},"不会自动把服务暴露到电脑上","。为了临时访问它，我们使用 ",[2710,4185,4186],{},"kubectl port-forward",[2747,4188,4190],{"className":2749,"code":4189,"language":2751,"meta":2752,"style":2752},"flowchart LR\n    A[\"终端 B：curl 访问 127.0.0.1:3000\"]\n    B[\"终端 A：kubectl port-forward\"]\n    C[\"Pod：orders-demo\"]\n    D[\"Container：Express 监听 3000\"]\n    A --> B --> C --> D\n",[2710,4191,4192,4197,4202,4207,4212,4217],{"__ignoreMap":2752},[2756,4193,4194],{"class":2758,"line":2759},[2756,4195,4196],{},"flowchart LR\n",[2756,4198,4199],{"class":2758,"line":2765},[2756,4200,4201],{},"    A[\"终端 B：curl 访问 127.0.0.1:3000\"]\n",[2756,4203,4204],{"class":2758,"line":2771},[2756,4205,4206],{},"    B[\"终端 A：kubectl port-forward\"]\n",[2756,4208,4209],{"class":2758,"line":2777},[2756,4210,4211],{},"    C[\"Pod：orders-demo\"]\n",[2756,4213,4214],{"class":2758,"line":2783},[2756,4215,4216],{},"    D[\"Container：Express 监听 3000\"]\n",[2756,4218,4219],{"class":2758,"line":2789},[2756,4220,4221],{},"    A --> B --> C --> D\n",[2696,4223,3590,4224,4227],{},[2703,4225,4226],{},"终端 A"," 执行并保持运行：",[2747,4229,4231],{"className":3479,"code":4230,"language":3481,"meta":2752,"style":2752},"kubectl port-forward -n course pod/orders-demo 3000:3000\n",[2710,4232,4233],{"__ignoreMap":2752},[2756,4234,4235,4237,4240,4242,4244,4247],{"class":2758,"line":2759},[2756,4236,3908],{"class":3009},[2756,4238,4239],{"class":2927}," port-forward",[2756,4241,3954],{"class":2927},[2756,4243,3957],{"class":2927},[2756,4245,4246],{"class":2927}," pod/orders-demo",[2756,4248,4249],{"class":2927}," 3000:3000\n",[2696,4251,3563],{},[2747,4253,4256],{"className":4254,"code":4255,"language":2885,"meta":2752},[2883],"Forwarding from 127.0.0.1:3000 -> 3000\nForwarding from [::1]:3000 -> 3000\n",[2710,4257,4255],{"__ignoreMap":2752},[2696,4259,4260,4261,2738],{},"这表示电脑本地的 3000 端口已转发到 Pod 的 3000 端口。命令会持续运行，",[2703,4262,4263],{},"不要立即关闭终端 A",[2696,4265,3590,4266,4269],{},[2703,4267,4268],{},"终端 B"," 执行：",[2747,4271,4273],{"className":3479,"code":4272,"language":3481,"meta":2752,"style":2752},"curl http://127.0.0.1:3000/api/info\n",[2710,4274,4275],{"__ignoreMap":2752},[2756,4276,4277,4280],{"class":2758,"line":2759},[2756,4278,4279],{"class":3009},"curl",[2756,4281,4282],{"class":2927}," http://127.0.0.1:3000/api/info\n",[2696,4284,4285,4286,4288],{},"根据本文的 ",[2710,4287,3076],{},"，模拟返回：",[2747,4290,4292],{"className":2896,"code":4291,"language":2898,"meta":2752,"style":2752},"{\"service\":\"orders\",\"version\":\"v1\"}\n",[2710,4293,4294],{"__ignoreMap":2752},[2756,4295,4296,4298,4300,4303,4305,4307,4309,4311,4313,4315,4317,4319,4321,4323,4325,4327,4329],{"class":2758,"line":2759},[2756,4297,3205],{"class":2905},[2756,4299,2918],{"class":2905},[2756,4301,4302],{"class":2914},"service",[2756,4304,2918],{"class":2905},[2756,4306,2921],{"class":2905},[2756,4308,2918],{"class":2905},[2756,4310,3289],{"class":2927},[2756,4312,2918],{"class":2905},[2756,4314,3170],{"class":2905},[2756,4316,2918],{"class":2905},[2756,4318,2940],{"class":2914},[2756,4320,2918],{"class":2905},[2756,4322,2921],{"class":2905},[2756,4324,2918],{"class":2905},[2756,4326,3303],{"class":2927},[2756,4328,2918],{"class":2905},[2756,4330,3071],{"class":2905},[2696,4332,4333],{},"也可以验证健康接口：",[2747,4335,4337],{"className":3479,"code":4336,"language":3481,"meta":2752,"style":2752},"curl http://127.0.0.1:3000/healthz\n",[2710,4338,4339],{"__ignoreMap":2752},[2756,4340,4341,4343],{"class":2758,"line":2759},[2756,4342,4279],{"class":3009},[2756,4344,4345],{"class":2927}," http://127.0.0.1:3000/healthz\n",[2696,4347,4348],{},"模拟返回：",[2747,4350,4352],{"className":2896,"code":4351,"language":2898,"meta":2752,"style":2752},"{\"status\":\"ok\"}\n",[2710,4353,4354],{"__ignoreMap":2752},[2756,4355,4356,4358,4360,4363,4365,4367,4369,4371,4373],{"class":2758,"line":2759},[2756,4357,3205],{"class":2905},[2756,4359,2918],{"class":2905},[2756,4361,4362],{"class":2914},"status",[2756,4364,2918],{"class":2905},[2756,4366,2921],{"class":2905},[2756,4368,2918],{"class":2905},[2756,4370,3215],{"class":2927},[2756,4372,2918],{"class":2905},[2756,4374,3071],{"class":2905},[2696,4376,4377,4378,4381],{},"现在你已经验证：请求从本机进入端口转发，再到达 Pod 内的 Express 服务，并获得响应。完成后回到终端 A，按 ",[2703,4379,4380],{},"Ctrl+C"," 停止端口转发。",[4383,4384,4385],"tip",{},[2696,4386,4387,4388,4391,4392,4395,4396,4399],{},"如果提示本地 ",[2710,4389,4390],{},"3000"," 端口已被占用，可把命令改为 ",[2710,4393,4394],{},"kubectl port-forward -n course pod/orders-demo 3001:3000","，随后访问 ",[2710,4397,4398],{},"http://127.0.0.1:3001/api/info","。左边是电脑端口，右边是 Pod 内端口。",[2723,4401],{},[2691,4403,4405],{"id":4404},"️-为什么不直接用-pod-部署正式业务","⚠️ 为什么不直接用 Pod 部署正式业务",[2696,4407,4408,4409,4412],{},"现在我们创建的是一个 ",[2703,4410,4411],{},"裸 Pod","：它不是由 Deployment 这样的工作负载控制器管理的。",[2696,4414,4415],{},"执行删除：",[2747,4417,4419],{"className":3479,"code":4418,"language":3481,"meta":2752,"style":2752},"kubectl delete -f pod.yaml\n",[2710,4420,4421],{"__ignoreMap":2752},[2756,4422,4423,4425,4428,4430],{"class":2758,"line":2759},[2756,4424,3908],{"class":3009},[2756,4426,4427],{"class":2927}," delete",[2756,4429,3914],{"class":2927},[2756,4431,3917],{"class":2927},[2696,4433,3563],{},[2747,4435,4438],{"className":4436,"code":4437,"language":2885,"meta":2752},[2883],"pod \"orders-demo\" deleted\n",[2710,4439,4437],{"__ignoreMap":2752},[2696,4441,4442],{},"再次查看：",[2747,4444,4446],{"className":3479,"code":4445,"language":3481,"meta":2752,"style":2752},"kubectl get pods -n course\n",[2710,4447,4448],{"__ignoreMap":2752},[2756,4449,4450,4452,4454,4456,4458],{"class":2758,"line":2759},[2756,4451,3908],{"class":3009},[2756,4453,3948],{"class":2927},[2756,4455,3951],{"class":2927},[2756,4457,3954],{"class":2927},[2756,4459,3650],{"class":2927},[2696,4461,4462],{},"如果该 Namespace 中没有其他 Pod，模拟输出：",[2747,4464,4467],{"className":4465,"code":4466,"language":2885,"meta":2752},[2883],"No resources found in course namespace.\n",[2710,4468,4466],{"__ignoreMap":2752},[2696,4470,4471,4472,4475],{},"为什么 Pod 没有自己重新出现？因为我们只创建了一个 Pod，没有创建负责",[2703,4473,4474],{},"维持 Pod 副本数量","的控制器。",[2696,4477,4478],{},"注意，不要把“容器进程异常退出后可能被重启”和“Pod 资源被删除后自动重新创建”混为一谈。",[2696,4480,4481,4482,4484],{},"正式业务通常使用下一篇要学习的 ",[2703,4483,2582],{}," 来管理 Pod 副本与版本更新。本篇先理解裸 Pod 的创建、运行和删除，不提前展开 Deployment 配置。",[2723,4486],{},[2691,4488,4490],{"id":4489},"知识问答","❓ 知识问答",[2696,4492,4493],{},[2703,4494,4495],{},"Q：Pod 与容器是一回事吗？",[2696,4497,4498],{},"不是。Pod 是 Kubernetes 调度应用的基本单位，一个 Pod 可以包含一个或多个容器。容器负责真正运行 Node.js 程序。",[2696,4500,4501],{},[2703,4502,4503,4504,4507],{},"Q：为什么 Docker 镜像构建成功后，还需要执行 ",[2710,4505,4506],{},"kind load docker-image","？",[2696,4509,4510,4511,4513],{},"因为本例的 kind 节点有自己的镜像存储。先加载镜像，Pod 才能在节点上直接使用 ",[2710,4512,3522],{},"，而不必从外部仓库获取。",[2696,4515,4516],{},[2703,4517,4518],{},"Q：删除一个裸 Pod，它会自动重新创建吗？",[2696,4520,4521],{},"不会。裸 Pod 没有副本控制器负责补齐。下一篇的 Deployment 会解决这类应用管理问题。",[2723,4523],{},[2691,4525,4527],{"id":4526},"小练习","🧪 小练习",[2696,4529,4530,4531,4534],{},"尝试模拟一次 ",[2703,4532,4533],{},"镜像名称错误导致 Pod 无法启动"," 的情况：",[4536,4537,4538,4544,4556,4566,4576],"ol",{},[2817,4539,4540,4541,4543],{},"确认已通过前面的命令删除 ",[2710,4542,3787],{}," Pod。",[2817,4545,4546,4547,4549,4550,4552,4553,2738],{},"把 ",[2710,4548,3596],{}," 中的镜像名称从 ",[2710,4551,3522],{}," 临时改为 ",[2710,4554,4555],{},"course-orders:missing-demo",[2817,4557,4558,4559,4562,4563,2738],{},"执行 ",[2710,4560,4561],{},"kubectl apply -f pod.yaml","，再执行 ",[2710,4564,4565],{},"kubectl get pods -n course",[2817,4567,4568,4569,4572,4573,4575],{},"运行 ",[2710,4570,4571],{},"kubectl describe pod orders-demo -n course","，找到 ",[2710,4574,4127],{}," 中有关拉取镜像失败的信息。",[2817,4577,4578,4579,4582,4583,4585,4586,2738],{},"删除错误 Pod：",[2710,4580,4581],{},"kubectl delete -f pod.yaml","；把镜像名称改回 ",[2710,4584,3522],{},"，重新执行 ",[2710,4587,4561],{},[2696,4589,4590,4591,4594,4595,2738,4598,4600],{},"镜像错误时，状态可能先显示为 ",[2710,4592,4593],{},"ErrImagePull","，多次重试后显示为 ",[2710,4596,4597],{},"ImagePullBackOff",[2710,4599,4120],{}," 中可能看到类似信息（模拟节选）：",[2747,4602,4605],{"className":4603,"code":4604,"language":2885,"meta":2752},[2883],"Warning  Failed  Failed to pull image \"course-orders:missing-demo\"\nNormal   BackOff Back-off pulling image \"course-orders:missing-demo\"\n",[2710,4606,4604],{"__ignoreMap":2752},[2696,4608,4609,4612],{},[2703,4610,4611],{},"验收标准："," 能解释为什么节点找不到镜像、能通过 Events 定位问题，并在恢复正确镜像后看到 Pod 运行。如果实际执行过练习，请保留最后恢复的 Pod，方便下一篇继续观察。",[2723,4614],{},[2696,4616,4617],{},"🎉 恭喜你！你已经理解了 Pod 与 Node、容器的关系，并完成了 Node.js 镜像构建、Pod 创建、状态检查、日志查看和端口访问。下一篇我们会学习如何用 Deployment 管理这些 Pod，而不再依赖手动创建裸 Pod。",[4619,4620,4621],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s86vT, html code.shiki .s86vT{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s50WR, html code.shiki .s50WR{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sIEYB, html code.shiki .sIEYB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sYGMc, html code.shiki .sYGMc{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .s8pZq, html code.shiki .s8pZq{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sndM8, html code.shiki .sndM8{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .swgpB, html code.shiki .swgpB{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .smPcV, html code.shiki .smPcV{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sK9QF, html code.shiki .sK9QF{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sd2Uz, html code.shiki .sd2Uz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":2752,"searchDepth":2765,"depth":2765,"links":4623},[4624,4625,4626,4631,4632,4639,4640,4641],{"id":2693,"depth":2765,"text":2694},{"id":2727,"depth":2765,"text":2728},{"id":2856,"depth":2765,"text":2857,"children":4627},[4628,4629,4630],{"id":2871,"depth":2771,"text":2872},{"id":3469,"depth":2771,"text":3470},{"id":3532,"depth":2771,"text":3533},{"id":3586,"depth":2765,"text":3587},{"id":3885,"depth":2765,"text":3886,"children":4633},[4634,4635,4636,4637,4638],{"id":3892,"depth":2771,"text":3893},{"id":3935,"depth":2771,"text":3936},{"id":4083,"depth":2771,"text":4084},{"id":4131,"depth":2771,"text":4132},{"id":4172,"depth":2771,"text":4173},{"id":4404,"depth":2765,"text":4405},{"id":4489,"depth":2765,"text":4490},{"id":4526,"depth":2765,"text":4527},"理解 Pod 与容器的关系，并动手构建镜像、创建、查看、访问和删除一个 Node.js Pod。","md",null,{},{"title":2578},{"title":2578,"description":4642},"jCIvkjmFPc",[4650,4652],{"title":2574,"path":2575,"stem":2576,"description":4651,"children":-1},"使用 kind 和 kubectl 在本机创建 Kubernetes 集群，学会检查节点、通过 YAML 创建 Namespace 并查看资源状态。",{"title":2582,"path":2583,"stem":2584,"description":4653,"children":-1},"理解 Deployment、ReplicaSet 和 Pod 的关系，运行两个 Node.js 服务副本，验证 Pod 自动补齐与手动扩容。",1795141025641]