Update Node Monitor Grace Period default duration to 50s

Update description

Improve flag comment

Update Test case value to be 50s by default

Update Description

Run make update

Minor description fix
This commit is contained in:
devppratik
2024-07-23 15:56:30 +05:30
parent 5420b2fe9a
commit f8bf6b97b8
7 changed files with 19 additions and 7 deletions

View File

@@ -284,7 +284,11 @@ type Controller struct {
// be less than the node health signal update frequency, since there will
// only be fresh values from Kubelet at an interval of node health signal
// update frequency.
// 2. nodeMonitorGracePeriod can't be too large for user experience - larger
// 2. nodeMonitorGracePeriod should be greater than the sum of HTTP2_PING_TIMEOUT_SECONDS (30s)
// and HTTP2_READ_IDLE_TIMEOUT_SECONDS (15s) from the http2 health check
// to ensure that the server has adequate time to handle slow or idle connections
// properly before marking a node as unhealthy.
// 3. nodeMonitorGracePeriod can't be too large for user experience - larger
// value takes longer for user to see up-to-date node health.
nodeMonitorGracePeriod time.Duration