You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/consul-dataplane/main.go
+19-7Lines changed: 19 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ package main
3
3
import (
4
4
"context"
5
5
"flag"
6
+
"fmt"
6
7
"log"
7
8
"os"
8
9
"os/signal"
@@ -28,10 +29,11 @@ var (
28
29
29
30
useCentralTelemetryConfigbool
30
31
31
-
adminBindAddrstring
32
-
adminBindPortint
33
-
readyBindAddrstring
34
-
readyBindPortint
32
+
adminBindAddrstring
33
+
adminBindPortint
34
+
readyBindAddrstring
35
+
readyBindPortint
36
+
envoyConcurrencyint
35
37
36
38
xdsBindAddrstring
37
39
xdsBindPortint
@@ -66,6 +68,7 @@ func init() {
66
68
flag.IntVar(&adminBindPort, "envoy-admin-bind-port", 19000, "The port on which the Envoy admin server will be available.")
67
69
flag.StringVar(&readyBindAddr, "envoy-ready-bind-address", "", "The address on which Envoy's readiness probe will be available.")
68
70
flag.IntVar(&readyBindPort, "envoy-ready-bind-port", 0, "The port on which Envoy's readiness probe will be available.")
71
+
flag.IntVar(&envoyConcurrency, "envoy-concurrency", 2, "The envoy concurrency denotes the number of threads that envoy will use https://www.envoyproxy.io/docs/envoy/latest/operations/cli#cmdoption-concurrency.")
69
72
70
73
flag.StringVar(&xdsBindAddr, "xds-bind-addr", "127.0.0.1", "The address on which the Envoy xDS server will be available.")
71
74
flag.IntVar(&xdsBindPort, "xds-bind-port", 0, "The port on which the Envoy xDS server will be available.")
0 commit comments