File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
concepts/scheduling-eviction
tasks/manage-kubernetes-objects Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,17 @@ kubelet 具有以下默认硬驱逐条件:
293
293
* ` imagefs.available<15% `
294
294
* ` nodefs.inodesFree<5% ` (Linux 节点)
295
295
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
+
296
307
<!--
297
308
### Eviction monitoring interval
298
309
Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ Patch your Deployment:
450
450
修补你的 Deployment :
451
451
452
452
` ` ` 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
454
454
` ` `
455
455
456
456
<!--
You can’t perform that action at this time.
0 commit comments