# K8S基础快速入门 **Repository Path**: nanguageger/k8s ## Basic Information - **Project Name**: K8S基础快速入门 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 47 - **Created**: 2026-05-20 - **Last Updated**: 2026-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Kubernetes 快速入门课程大纲:Kind 单 VM 版 ## 课程目标 用最短路径掌握 K8s 必备操作: ```text 创建集群 -> 部署应用 -> YAML 管理 -> 暴露服务 -> 扩容自愈 -> 更新回滚 -> 文件管理 -> 持久化 -> Ingress ``` 主项目: ```text Nginx 静态网站 完整网站包:HTML / CSS / JS / 图片 ``` ## 课程总图 ![Kubernetes 快速入门 8 次课路线图](https://gitee.com/onesheet/picture-warehouse/raw/master/pic/upgit_20260520_1779262992.svg) ## 8 次课 | 课次 | 主题 | 核心技能 | 成果 | |---|---|---|---| | 01 | Kind 创建集群,运行第一个网站 | Kind、Deployment、Service、scale | Windows 浏览器访问 Nginx | | 02 | Pod、kubectl 与 YAML 入门 | Pod YAML、describe、logs、exec、explain | 用 YAML 创建并排查 Pod | | 03 | Deployment YAML 声明式部署 | Deployment、labels、selector | 用 YAML 管理网站副本 | | 04 | Service 暴露网站 | ClusterIP、NodePort、port-forward | 稳定访问网站 | | 05 | Deployment 管理 | 扩容、自愈、滚动更新、回滚 | 掌握日常发布动作 | | 06 | 更新完整网站包 | kubectl cp、容器文件系统 | 发布自己的 HTML/CSS/JS | | 07 | PVC 持久化 | PVC、volume、volumeMount | Pod 重建后网站文件仍保留 | | 08 | Ingress 与综合实战 | Ingress、域名、综合排障 | 用域名发布完整网站 | ## 每课结构 ```text 目标 -> 结构图 -> 关键概念 -> 实验步骤 -> 常见问题 -> 清理恢复 -> 完成标准 ``` > 官方文档 : [https://kubernetes.io/zh-cn/docs/home/](https://kubernetes.io/zh-cn/docs/home/)