File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -650,6 +650,12 @@ func newContainers(config *OperatorConfig, features map[string]bool) []corev1.Co
650
650
fmt .Sprintf ("--namespace=%s" , config .TargetNamespace ),
651
651
}
652
652
653
+ machineControllerArgs := append ([]string {}, args ... )
654
+ switch config .PlatformType {
655
+ case v1 .AzurePlatformType :
656
+ machineControllerArgs = append (machineControllerArgs , "--max-concurrent-reconciles=10" )
657
+ }
658
+
653
659
proxyEnvArgs := getProxyArgs (config )
654
660
655
661
containers := []corev1.Container {
@@ -698,7 +704,7 @@ func newContainers(config *OperatorConfig, features map[string]bool) []corev1.Co
698
704
Name : "machine-controller" ,
699
705
Image : config .Controllers .Provider ,
700
706
Command : []string {"/machine-controller-manager" },
701
- Args : args ,
707
+ Args : machineControllerArgs ,
702
708
Resources : resources ,
703
709
Env : append (proxyEnvArgs , corev1.EnvVar {
704
710
Name : "NODE_NAME" ,
You can’t perform that action at this time.
0 commit comments