File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed 
internal/controller/datadogagent/component/agent Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,9 @@ func NewExtendedDaemonset(owner metav1.Object, edsOptions *ExtendedDaemonsetOpti
6666type  ExtendedDaemonsetOptions  struct  {
6767	Enabled  bool 
6868
69- 	MaxPodUnavailable       string 
70- 	MaxPodSchedulerFailure  string 
69+ 	MaxPodUnavailable          string 
70+ 	MaxPodSchedulerFailure     string 
71+ 	SlowStartAdditiveIncrease  string 
7172
7273	CanaryDuration                       time.Duration 
7374	CanaryReplicas                       string 
@@ -94,6 +95,10 @@ func defaultEDSSpec(options *ExtendedDaemonsetOptions) edsv1alpha1.ExtendedDaemo
9495		spec .Strategy .RollingUpdate .MaxPodSchedulerFailure  =  apiutils .NewIntOrStringPointer (options .MaxPodSchedulerFailure )
9596	}
9697
98+ 	if  options .SlowStartAdditiveIncrease  !=  ""  {
99+ 		spec .Strategy .RollingUpdate .SlowStartAdditiveIncrease  =  apiutils .NewIntOrStringPointer (options .SlowStartAdditiveIncrease )
100+ 	}
101+ 
97102	if  options .CanaryDuration  !=  0  {
98103		spec .Strategy .Canary .Duration  =  & metav1.Duration {Duration : options .CanaryDuration }
99104	}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments