Skip to content

Commit

Permalink
Add flag --enable-multi-networking that will enable support for L4 lo…
Browse files Browse the repository at this point in the history
…ad balancers in NEG controller and L4 controllers.
  • Loading branch information
mmamczur committed Apr 7, 2023
1 parent 4c7c629 commit 86de3ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ var (
EnableMultipleIGs bool
EnableServiceMetrics bool
EnableNEGLabelPropagation bool
EnableMultiNetworking bool
MaxIGSize int
EnableDegradedMode bool
EnableDualStackNEG bool
Expand Down Expand Up @@ -267,6 +268,7 @@ L7 load balancing. CSV values accepted. Example: -node-port-ranges=80,8080,400-5
flag.BoolVar(&F.EnableL4ILBDualStack, "enable-l4ilb-dual-stack", false, "Enable Dual-Stack handling for L4 Internal Load Balancers")
flag.BoolVar(&F.EnableL4NetLBDualStack, "enable-l4netlb-dual-stack", false, "Enable Dual-Stack handling for L4 External Load Balancers")
flag.BoolVar(&F.EnableMultipleIGs, "enable-multiple-igs", false, "Enable using multiple unmanaged instance groups")
flag.BoolVar(&F.EnableMultiNetworking, "enable-multi-networking", false, "Enable support for multi-networking L4 load balancers.")
flag.IntVar(&F.MaxIGSize, "max-ig-size", 1000, "Max number of instances in Instance Group")
flag.DurationVar(&F.MetricsExportInterval, "metrics-export-interval", 10*time.Minute, `Period for calculating and exporting metrics related to state of managed objects.`)
flag.DurationVar(&F.NegMetricsExportInterval, "neg-metrics-export-interval", 5*time.Second, `Period for calculating and exporting internal neg controller metrics, not usage.`)
Expand Down

0 comments on commit 86de3ef

Please sign in to comment.