ops-itop / itop-extensions

my extensions of itop
30 stars 12 forks source link

node挂掉之后容器迁移时间太长 #63

Closed annProg closed 6 years ago

annProg commented 6 years ago

https://github.com/annProg/cmdbApi/issues/10 【cmdbApi/actions/tasks】 10:10:31 504 10:11:13 503 10:15:38 404

用了5分钟才迁移(可能是受 kube-controller-manager --pod-eviction-timeout 参数影响: duration The grace period for deleting pods on failed nodes. (default 5m0s) )

考虑配置livenessProbe来加快迁移

annProg commented 6 years ago

配置探针无效。还是挂5分钟。

13:25:51 200
13:25:52 200
13:25:53 504
13:25:59 504
13:26:29 502
13:26:33 503
13:31:35 503
13:31:36 200
13:31:37 200
annProg commented 6 years ago

还是需要调整 kube-controller-manager --pod-eviction-timeout 参数值