Skip to content

Commit 4aafc85

Browse files
committed
[zh-cn]sync persistent-volumes ttlafterfinished tutorials/_index
Signed-off-by: xin.li <xin.li@daocloud.io>
1 parent 2b45b2f commit 4aafc85

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

content/zh-cn/docs/concepts/storage/persistent-volumes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: 持久卷
33
api_metadata:
44
- apiVersion: "v1"
55
kind: "PersistentVolume"
6+
- apiVersion: "v1"
7+
kind: "PersistentVolumeClaim"
68
feature:
79
title: 存储编排
810
description: >
@@ -21,6 +23,8 @@ title: Persistent Volumes
2123
api_metadata:
2224
- apiVersion: "v1"
2325
kind: "PersistentVolume"
26+
- apiVersion: "v1"
27+
kind: "PersistentVolumeClaim"
2428
feature:
2529
title: Storage orchestration
2630
description: >

content/zh-cn/docs/concepts/workloads/controllers/ttlafterfinished.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Kubernetes 尊重 Job 对象的生命周期保证,例如等待
9797
to detect changes to the `.status` of the Job and only set a TTL when the Job
9898
is being marked as completed.
9999
* Write your own controller to manage the cleanup TTL for Jobs that match a particular
100-
{{< glossary_tooltip term_id="selector" text="selector-selector" >}}.
100+
{{< glossary_tooltip term_id="selector" text="selector" >}}.
101101
-->
102102
* 使用[修改性质的准入 Webhook](/zh-cn/docs/reference/access-authn-authz/admission-controllers/#mutatingadmissionwebhook)
103103
在 Job 完成后动态设置该字段,并根据 Job 状态、标签等选择不同的 TTL 值。

content/zh-cn/docs/tutorials/_index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,15 @@ Kubernetes 文档的这一部分包含教程。
115115
* [使用 AppArmor 限制容器对资源的访问](/zh-cn/docs/tutorials/security/apparmor/)
116116
* [Seccomp](/zh-cn/docs/tutorials/security/seccomp/)
117117

118+
<!--
119+
## Cluster Management
120+
121+
* [Running Kubelet in Standalone Mode](/docs/tutorials/cluster-management/kubelet-standalone/)
122+
-->
123+
## 集群管理
124+
125+
* [以独立模式运行 kubelet](/zh-cn/docs/tutorials/cluster-management/kubelet-standalone/)
126+
118127
## {{% heading "whatsnext" %}}
119128

120129
<!--

0 commit comments

Comments
 (0)