NodeLifecycleController: Remove race condition
Patch request does not support RV by default, we need to include them explicitly and patching lists actually overwrites whole field. It means that there is a race condition, in which we can overwrite changes to taints that happened between GET and PATCH requests.
This commit is contained in:
@@ -54,7 +54,7 @@ const (
|
||||
testNodeMonitorGracePeriod = 40 * time.Second
|
||||
testNodeStartupGracePeriod = 60 * time.Second
|
||||
testNodeMonitorPeriod = 5 * time.Second
|
||||
testRateLimiterQPS = float32(10000)
|
||||
testRateLimiterQPS = float32(100000)
|
||||
testLargeClusterThreshold = 20
|
||||
testUnhealthyThreshold = float32(0.55)
|
||||
)
|
||||
|
Reference in New Issue
Block a user