Skip to content

Commit 796f4b3

Browse files
authored
Merge pull request #32040 from my-git9/patch-9
Update cron-jobs.md
2 parents db1d918 + 0f60e93 commit 796f4b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/zh/docs/concepts/workloads/controllers/cron-jobs.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ and set this flag to `false`. For example:
276276
* For instructions on creating and working with CronJobs, and for an example
277277
of a CronJob manifest,
278278
see [Running automated tasks with CronJobs](/docs/tasks/job/automated-tasks-with-cron-jobs/).
279+
* For instructions to clean up failed or completed jobs automatically,
280+
see [Clean up Jobs automatically](/docs/concepts/workloads/controllers/job/#clean-up-finished-jobs-automatically)
279281
* `CronJob` is part of the Kubernetes REST API.
280282
Read the {{< api-reference page="workload-resources/cron-job-v1" >}}
281283
object definition to understand the API for Kubernetes cron jobs.
@@ -285,6 +287,7 @@ and set this flag to `false`. For example:
285287
* 阅读 CronJob `.spec.schedule` 字段的[格式](https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format)
286288
* 有关创建和使用 CronJob 的说明及示例规约文件,请参见
287289
[使用 CronJob 运行自动化任务](/zh/docs/tasks/job/automated-tasks-with-cron-jobs/)
290+
* 有关自动清理失败或完成作业的说明,请参阅[自动清理作业](/zh/docs/concepts/workloads/controllers/job/#clean-up-finished-jobs-automatically)
288291
* `CronJob` 是 Kubernetes REST API 的一部分,
289292
阅读 {{< api-reference page="workload-resources/cron-job-v1" >}}
290293
对象定义以了解关于该资源的 API。

0 commit comments

Comments
 (0)