Skip to content

Commit 719de42

Browse files
authored
Merge pull request #36047 from ydFu/update-reference-schduling
[zh] Update reference/schduling
2 parents 778a848 + e03e894 commit 719de42

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

content/zh-cn/docs/reference/scheduling/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ title: 调度
33
weight: 70
44
toc-hide: true
55
---
6+
7+
<!--
8+
title: Scheduling
9+
weight: 70
10+
toc-hide: true
11+
-->

content/zh-cn/docs/reference/scheduling/policies.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,29 @@ sitemap:
1313
-->
1414

1515
<!-- overview -->
16+
1617
<!--
1718
In Kubernetes versions before v1.23, a scheduling policy can be used to specify the *predicates* and *priorities* process. For example, you can set a scheduling policy by
1819
running `kube-scheduler --policy-config-file <filename>` or `kube-scheduler --policy-configmap <ConfigMap>`.
1920
2021
This scheduling policy is not supported since Kubernetes v1.23. Associated flags `policy-config-file`, `policy-configmap`, `policy-configmap-namespace` and `use-legacy-policy-config` are also not supported. Instead, use the [Scheduler Configuration](/docs/reference/scheduling/config/) to achieve similar behavior.
2122
-->
22-
23-
在 Kubernetes v1.23 版本之前,可以使用调度策略来指定 *predicates**priorities* 进程。
23+
在 Kubernetes v1.23 版本之前,可以使用调度策略来指定 **predicates****priorities** 进程。
2424
例如,可以通过运行 `kube-scheduler --policy-config-file <filename>` 或者
2525
`kube-scheduler --policy-configmap <ConfigMap>` 设置调度策略。
2626

2727
但是从 Kubernetes v1.23 版本开始,不再支持这种调度策略。
28-
同样地也不支持相关的 `policy-config-file` `policy-configmap` `policy-configmap-namespace` 以及 `use-legacy-policy-config` 标志。
29-
你可以通过使用 [调度配置](/zh-cn/docs/reference/scheduling/config/)来实现类似的行为。
28+
同样地也不支持相关的 `policy-config-file``policy-configmap``policy-configmap-namespace` `use-legacy-policy-config` 标志。
29+
你可以通过使用[调度配置](/zh-cn/docs/reference/scheduling/config/)来实现类似的行为。
3030

3131
## {{% heading "whatsnext" %}}
3232

3333
<!--
3434
* Learn about [scheduling](/docs/concepts/scheduling-eviction/kube-scheduler/)
3535
* Learn about [kube-scheduler Configuration](/docs/reference/scheduling/config/)
36-
* Read the [kube-scheduler configuration reference (v1beta3)](/zh-cn/docs/reference/config-api/kube-scheduler-config.v1beta3/)
36+
* Read the [kube-scheduler configuration reference (v1beta3)](/docs/reference/config-api/kube-scheduler-config.v1beta3/)
3737
-->
3838

39-
* 了解 [调度](/zh-cn/docs/concepts/scheduling-eviction/kube-scheduler/)
40-
* 了解 [kube-scheduler 配置](/zh-cn/docs/reference/scheduling/config/)
41-
* 阅读 [kube-scheduler 配置参考(v1beta3)](/zh-cn/docs/reference/config-api/kube-scheduler-config.v1beta3/)
42-
39+
* 了解[调度](/zh-cn/docs/concepts/scheduling-eviction/kube-scheduler/)
40+
* 了解 [kube-scheduler 配置](/zh-cn/docs/reference/scheduling/config/)
41+
* 阅读 [kube-scheduler 配置参考 (v1beta3)](/zh-cn/docs/reference/config-api/kube-scheduler-config.v1beta3/)

0 commit comments

Comments
 (0)