Skip to content

Commit 92188ff

Browse files
committed
[zh-cn]sync node-pressure-eviction.md secrets-good-practices.md update-api-object-kubectl-patch.md
Signed-off-by: xin.li <[email protected]>
1 parent 0585f1e commit 92188ff

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

content/zh-cn/docs/concepts/scheduling-eviction/node-pressure-eviction.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,17 @@ kubelet 具有以下默认硬驱逐条件:
293293
* `imagefs.available<15%`
294294
* `nodefs.inodesFree<5%`(Linux 节点)
295295

296+
<!--
297+
These default values of hard eviction thresholds will only be set if none
298+
of the parameters is changed. If you changed the value of any parameter,
299+
then the values of other parameters will not be inherited as the default
300+
values and will be set to zero. In order to provide custom values, you
301+
should provide all the thresholds respectively.
302+
-->
303+
只有在没有更改任何参数的情况下,硬驱逐阈值才会被设置成这些默认值。
304+
如果你更改了任何参数的值,则其他参数的取值不会继承其默认值设置,而将被设置为零。
305+
为了提供自定义值,你应该分别设置所有阈值。
306+
296307
<!--
297308
### Eviction monitoring interval
298309

content/zh-cn/docs/concepts/security/secrets-good-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ also follow the other guidelines in
7777
privileged, system-level components. Only grant `get` access for Secrets if
7878
the component's normal behavior requires it.
7979
- **Humans**: Restrict `get`, `watch`, or `list` access to Secrets. Only allow
80-
cluster admistrators to access `etcd`. This includes read-only access. For
80+
cluster administrators to access `etcd`. This includes read-only access. For
8181
more complex access control, such as restricting access to Secrets with
8282
specific annotations, consider using third-party authorization mechanisms.
8383
-->

content/zh-cn/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ Patch your Deployment:
450450
修补你的 Deployment:
451451

452452
```shell
453-
kubectl patch deployment retainkeys-demo --type merge --patch-file patch-file-no-retainkeys.yaml
453+
kubectl patch deployment retainkeys-demo --type strategic --patch-file patch-file-no-retainkeys.yaml
454454
```
455455

456456
<!--

0 commit comments

Comments
 (0)