Commit 597e938e authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #40621 from timothysc/daemonset_dos

Automatic merge from submit-queue Decrease Daemonset burst replicas due to DoS conditions. **What this PR does / why we need it**: We are seeing DoS conditions on our Registry if were running a large cluster with too many daemonsets bursting at once. **Special notes for your reviewer**: I decided not to plumb through yet another variable to the command line. Ideally such parameters could be tweaked via a configuration file. **Release note**: ```release-note NONE ```
parents 3897fc00 52bedaf4
......@@ -51,9 +51,8 @@ const (
// Daemon sets will periodically check that their daemon pods are running as expected.
FullDaemonSetResyncPeriod = 30 * time.Second // TODO: Figure out if this time seems reasonable.
// Realistic value of the burstReplica field for the replication manager based off
// performance requirements for kubernetes 1.0.
BurstReplicas = 500
// The value of 250 is chosen b/c values that are too high can cause registry DoS issues
BurstReplicas = 250
// If sending a status upate to API server fails, we retry a finite number of times.
StatusUpdateRetries = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment