Update configure-pdb.md

sync with English version

Apply suggestions from code review

Co-authored-by: Qiming Teng <tengqim@cn.ibm.com>
This commit is contained in:
guzj11 2020-12-17 23:51:23 +08:00 committed by guzj11
parent 255fe9e3ff
commit 948b1e91a8
1 changed files with 7 additions and 1 deletions

View File

@ -80,6 +80,13 @@ selector goes into the PDBs `.spec.selector`.
在这种情况下,在控制器的 `.spec.selector` 字段中做记录,并在 PDB 的
`.spec.selector` 字段中加入同样的选择算符。
<!--
From version 1.15 PDBs support custom controllers where the [scale subresource](/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#scale-subresource) is enabled.
-->
从 1.15 版本开始PDB 支持启用
[scale 子资源](/zh/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#scale-subresource)
的自定义控制器。
<!--
You can also use PDBs with pods which are not controlled by one of the above
controllers, or arbitrary groups of pods, but there are some restrictions,
@ -421,4 +428,3 @@ to create PDBs whose selectors overlap.
你可以令选择算符选择一个内置控制器所控制 Pod 的子集或父集。
然而,当名字空间下存在多个 PDB 时,用户必须小心,保证 PDB 的选择算符之间不重叠。