Skip to content

Commit

Permalink
[zh] Update reference/schduling
Browse files Browse the repository at this point in the history
Signed-off-by: ydFu <ader.ydfu@gmail.com>
  • Loading branch information
ydFu committed Aug 17, 2022
1 parent 5379c8c commit e03e894
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
6 changes: 6 additions & 0 deletions content/zh-cn/docs/reference/scheduling/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ title: 调度
weight: 70
toc-hide: true
---

<!--
title: Scheduling
weight: 70
toc-hide: true
-->
17 changes: 8 additions & 9 deletions content/zh-cn/docs/reference/scheduling/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,29 @@ sitemap:
-->

<!-- overview -->

<!--
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
running `kube-scheduler --policy-config-file <filename>` or `kube-scheduler --policy-configmap <ConfigMap>`.
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.
-->

在 Kubernetes v1.23 版本之前,可以使用调度策略来指定 *predicates**priorities* 进程。
在 Kubernetes v1.23 版本之前,可以使用调度策略来指定 **predicates****priorities** 进程。
例如,可以通过运行 `kube-scheduler --policy-config-file <filename>` 或者
`kube-scheduler --policy-configmap <ConfigMap>` 设置调度策略。

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

## {{% heading "whatsnext" %}}

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

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

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

0 comments on commit e03e894

Please sign in to comment.