Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ git push origin docs/your-feature

### 分支命名

```
```text
docs/模块名-简要描述
fix/问题描述
feat/新功能描述
Expand All @@ -56,7 +56,7 @@ feat/新功能描述

### Commit 信息格式

```
```text
<type>(<scope>): <description>
```

Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ git push origin docs/your-feature

### 分支命名

```
```text
docs/模块名-简要描述
fix/问题描述
feat/新功能描述
Expand All @@ -56,7 +56,7 @@ feat/新功能描述

### Commit 信息格式

```
```text
<type>(<scope>): <description>
```

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/EVOLUTION_PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ title: "🧬 TKE Workshop 自进化计划"

### Agent 执行日志

```
```text
[2026-04-03] content-gap-filler: 填充 data/storage.md(CBS/CFS StorageClass、PVC、StatefulSet、扩容、常见问题)
[2026-04-03] content-gap-filler: 填充 best-practices/observability/monitoring.md(TMP接入、PromQL、告警规则、Grafana大盘)
[2026-04-02] 进化计划文档初始化,3个自动化任务创建完成(content-gap-filler/link-checker/ai-copilot-enricher)
Expand Down
24 changes: 12 additions & 12 deletions src/content/docs/PRODUCT_ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ title: "TKE Workshop 产品路线图 (Product Roadmap)"
#### 1.1 补全核心模块文档 (优先级: P0)

**网络模块 (Networking)**:
```
```text
networking/
├── index.md # 网络概述
├── service/
Expand Down Expand Up @@ -122,7 +122,7 @@ networking/
```

**可观测性模块 (Observability)**:
```
```text
observability/
├── index.md # 可观测性概述
├── monitoring/
Expand All @@ -146,7 +146,7 @@ observability/
```

**控制平面模块 (Control Plane)**:
```
```text
control-plane/
├── index.md # 控制平面概述
├── architecture/
Expand All @@ -170,7 +170,7 @@ control-plane/

**目标**: 从 40% → 100%

```
```text
ai-ml/
├── index.md # ✅ 已完成
├── gpu-basics/
Expand Down Expand Up @@ -200,7 +200,7 @@ ai-ml/

**目标**: 从 20% → 100%

```
```text
data/
├── index.md # ✅ 已完成
├── storage/
Expand Down Expand Up @@ -277,7 +277,7 @@ data/

**功能设计**:

```
```text
features/interactive-labs/
├── browser-terminal/ # 浏览器内终端
│ ├── xterm.js 集成
Expand All @@ -294,7 +294,7 @@ features/interactive-labs/
```

**用户体验**:
```
```text
┌─────────────────────────────────────────────────┐
│ 📘 创建 TKE 集群 │
├─────────────────────────────────────────────────┤
Expand Down Expand Up @@ -361,7 +361,7 @@ features/interactive-labs/
- 🎓 完成所有基础模块

4. **可视化仪表盘**
```
```text
┌─────────────────────────────────────┐
│ 👤 用户: virgilliang │
├─────────────────────────────────────┤
Expand Down Expand Up @@ -389,7 +389,7 @@ features/interactive-labs/
3. **TKE 架构师 (Architect)** - 全部模块 + 最佳实践

**认证流程**:
```
```text
1. 完成所有模块学习
2. 通过在线考试 (多选题 + 实操题)
Expand All @@ -410,7 +410,7 @@ features/interactive-labs/
**技术选型**: GitHub Discussions

**论坛分区**:
```
```text
tke-workshop/discussions/
├── 💬 General # 通用讨论
├── 🙋 Q&A # 问答
Expand Down Expand Up @@ -450,7 +450,7 @@ tke-workshop/discussions/

**内容规划**:

```
```text
case-studies/
├── e-commerce/
│ ├── architecture.md # 电商平台架构
Expand Down Expand Up @@ -561,7 +561,7 @@ starlight({

**优化方案**:

```
```text
┌────────────────────────────────────────────────┐
│ 🎯 TKE Workshop │
│ AI-First 云原生学习平台 │
Expand Down
14 changes: 7 additions & 7 deletions src/content/docs/ai-ml/ai-copilot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@ TKE Skill 通过两个 CLI 工具提供完整的云原生运维能力:

### 📋 TKE 集群管理

```
```text
帮我查一下广州地域的 TKE 集群
获取集群 cls-xxx 的 kubeconfig
```

### ☸️ K8s 资源操作

```
```text
帮我查看 default 命名空间的 Pod 状态
查看 my-app Pod 的日志
执行进入 my-app Pod 的 shell
```

### 🚀 一句话部署应用

```
```text
帮我部署一个"你好,猴哥"静态页面到 TKE 集群
帮我把本地项目打包成镜像并部署到 TKE
```
Expand All @@ -64,7 +64,7 @@ AI 将自动完成:

### 🔧 智能运维排障

```
```text
帮我检查 my-app 为什么部署失败
分析 Pod 状态、查看日志、排查问题原因
```
Expand All @@ -76,14 +76,14 @@ AI 将自动完成:

### ⛵ Helm 包管理

```
```text
帮我用 Helm 安装 nginx,3 副本,开启等待
帮我列出所有已安装的 Helm Release
```

### 🐳 TCR 镜像仓库

```
```text
帮我查看广州地域的 TCR 实例
创建一个镜像仓库 my-app
```
Expand All @@ -92,7 +92,7 @@ AI 将自动完成:

一句话为团队成员创建权限:

```
```text
帮我创建一个账号 team-frontend,权限级别 developer,可以访问 frontend 命名空间
帮我生成 team-frontend 的安装 Prompt
```
Expand Down
18 changes: 9 additions & 9 deletions src/content/docs/ai-ml/ai-copilot/tke-skill.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ RBAC 租户管理支持 4 种预定义角色:

**使用 TKE Skill**:

```
```text
帮我部署一个"你好,猴哥"静态页面到 TKE 集群
```

AI 将自动完成:

```
```text
✅ 分析需求,设计部署方案
✅ 编写 Deployment、Service、ConfigMap 等 YAML
✅ 执行 kubectl apply 部署资源
Expand Down Expand Up @@ -184,14 +184,14 @@ AI 将自动完成:

**使用 TKE Skill**:

```
```text
帮我检查 my-app 为什么部署失败
分析 Pod 状态、查看日志、排查问题原因
```

AI 将自动执行排障流程:

```
```text
🔍 正在分析 Pod 状态...

📋 发现问题 Pod: my-app-7d9f8b6c5d-xxxxx
Expand Down Expand Up @@ -230,7 +230,7 @@ AI 帮你写完代码、部署上线后,运维才刚刚开始。我们计划

#### 自动伸缩配置

```
```text
给 my-app 配置自动伸缩,CPU 超过 70% 就扩容,最多 10 个副本
```

Expand All @@ -241,7 +241,7 @@ AI 自动配置 HPA:

#### 故障自愈

```
```text
给 my-app 配置故障自愈,应用挂了自动重启
```

Expand All @@ -252,12 +252,12 @@ AI 自动配置:

#### 资源优化建议

```
```text
分析 my-app 最近 7 天的资源使用情况,看看配置是否合理
```

AI 分析后给出建议:
```
```text
📊 my-app 资源分析报告(过去 7 天)

CPU:
Expand All @@ -275,7 +275,7 @@ CPU:

#### 灰度发布

```
```text
把 my-app 更新到 v2 版本,先灰度 10% 流量
```

Expand Down
Loading
Loading