Update node_lifecycle_controller.go

remove 'pod-eviction-timeout' comment
This commit is contained in:
guozheng-shen 2024-09-09 14:36:41 +08:00 committed by GitHub
parent 92507eaabe
commit 686ccceba3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -270,9 +270,7 @@ type Controller struct {
// Controller will not proactively sync node health, but will monitor node
// health signal updated from kubelet. There are 2 kinds of node healthiness
// signals: NodeStatus and NodeLease. If it doesn't receive update for this amount
// of time, it will start posting "NodeReady==ConditionUnknown". The amount of
// time before which Controller start evicting pods is controlled via flag
// 'pod-eviction-timeout'.
// of time, it will start posting "NodeReady==ConditionUnknown".
// Note: be cautious when changing the constant, it must work with
// nodeStatusUpdateFrequency in kubelet and renewInterval in NodeLease
// controller. The node health signal update frequency is the minimal of the