Skip to content

Commit c224ae4

Browse files
committed
fix: 修复 _redirects 文件中的状态码格式
feat: 添加 Cline AI 编码工具融资文章,介绍其成功与行业影响 refactor: 优化图片选择逻辑,优先使用 banner_image 参数 feat: 支持 GIF 图片上传,优化图片格式处理逻辑 feat: 更新博客模板,使用动态 banner_image 代替静态图片路径 feat: 添加 RAG 系统文件上传功能,支持指定文件上传并进行错误检查 fix: 修复模板文件中导出日期的格式问题 Add comprehensive tests for book cover generation and noise texture creation - Introduced `test_cover_images.py` to validate properties of generated front and back cover images, including dimensions, mode, and pixel variance. - Added performance tests to ensure cover generation completes within 1 second. - Created `test_extended_cover.py` to test new functionalities in the `create_cover` function, including back cover naming conventions and front/back generation options. - Implemented `test_noise_texture.py` to validate the `make_noise_texture` function with various parameters and save generated textures. - Added detailed README for the PDF Book Exporter tool, outlining features, usage, examples, and advanced customization options. - Removed outdated inline debug tests and specific wrapping tests to streamline the testing process. feat: 添加 GitHub Copilot 使用说明文档,提供多语言 Hugo 静态站点的开发指导 feat: 在 RSS 源中添加内容编码和描述字段 feat: 添加背封面配置和增强封面功能,优化 PDF 导出工具 feat: 添加背封面图片和二维码,更新书籍元数据 feat: 删除 PDF 导出工具的 HTML 模板文件 feat: 优化引用块样式,调整颜色和间距设置 feat: 修改按钮样式,调整光标和尺寸设置 feat: 更新 Kubernetes 手册封面标题和字体大小,简化侧车容器功能描述 feat: 更新 PDF 导出工具封面配置,调整标题和副标题的字体大小及行高 feat: 调整 PDF 封面标题行高,优化多行标题的紧凑度
1 parent 507e2f7 commit c224ae4

File tree

5 files changed

+29
-4
lines changed

5 files changed

+29
-4
lines changed

_index.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,39 @@ cascade:
1717
type: book
1818
layout: book-content
1919
book:
20-
title: "Kubernetes 手册"
20+
title: "Kubernetes 基础教程"
2121
description: "Kubernetes 基础教程,全面掌握容器编排技术的实战手册,涵盖核心架构、关键组件和实际应用。"
2222
language: "zh-hans"
2323
author: "Jimmy Song"
2424
cover: cover.jpg
25+
backcover_image: "back_cover.jpg"
2526
date: 2025-07-13
2627
website: https://jimmysong.io/book/kubernetes-handbook/
2728
appendix: false
29+
# Enhanced cover configuration
30+
cover_title_text: "Kubernetes Handbook"
31+
cover_author_text: "Jimmy Song"
32+
cover_subtitle_text: "Kubernetes 基础教程,全面掌握容器编排技术的实战手册,涵盖核心架构、关键组件和实际应用。"
33+
cover_title_color: "#FFFFFF"
34+
cover_author_color: "#E0E0E0"
35+
cover_subtitle_color: "#C0C0C0"
36+
cover_title_font_size: 48
37+
cover_author_font_size: 28
38+
cover_subtitle_font_size: 20
39+
cover_title_position: "center"
40+
cover_author_position: "bottom"
41+
cover_overlay_enabled: true
42+
cover_text_shadow: false
43+
cover_background_overlay: false
44+
cover_overlay_opacity: 0.0
45+
46+
# Typography and color configuration
47+
body_color: "#333333"
48+
heading_color: "#2C3E50"
49+
link_color: "#3498DB"
50+
code_color: "#E74C3C"
51+
quote_color: "#7F8C8D"
52+
caption_color: "#95A5A6"
2853
repository:
2954
url: https://github.com/rootsongjc/kubernetes-handbook
3055
branch: main

back_cover.jpg

13.3 KB
Loading

cover.jpg

-370 KB
Loading

interfaces/csi/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ Kubernetes 社区提供了以下 sidecar 容器来简化 CSI 驱动程序的开
157157
158158
| Sidecar 容器 | 功能描述 |
159159
|-------------|----------|
160-
| **external-provisioner** | 监听 PVC 事件,调用 `CreateVolume`/`DeleteVolume` |
161-
| **external-attacher** | 监听 VolumeAttachment 事件,调用 `ControllerPublishVolume`/`ControllerUnpublishVolume` |
162-
| **external-resizer** | 处理 PVC 扩容请求,调用 `ControllerExpandVolume` |
160+
| **external-provisioner** | 监听 PVC 事件 |
161+
| **external-attacher** | 监听 VolumeAttachment 事件 |
162+
| **external-resizer** | 处理 PVC 扩容请求 |
163163
| **external-snapshotter** | 管理卷快照功能 |
164164
| **node-driver-registrar** | 向 kubelet 注册 CSI 驱动程序 |
165165
| **livenessprobe** | 监控 CSI 驱动程序健康状态 |

qrcode.jpg

41.9 KB
Loading

0 commit comments

Comments
 (0)