-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
consul/connect: set default Envoy worker threads for gateways #9611
Conversation
Applying the default --concurrency for gateways was missed before. Set the default Envoy concurrency to 1 for connect gateways. The same override value meta.connect.proxy_concurrency applies.
spot checkgateway demo job job "igfull" {
datacenters = ["dc1"]
group "example" {
network {
mode = "host"
port "inbound" {
static = 8080
}
port "envoy" {
static = 19999
}
}
service {
name = "my-ingress-service"
port = "envoy"
connect {
gateway {
// Consul gateway [envoy] proxy options.
proxy {
connect_timeout = "500ms"
envoy_gateway_bind_tagged_addresses = false
}
// Consul Ingress Gateway Configuration Entry
ingress {
tls {
enabled = false
}
// any number of listeners
listener {
port = 8080
protocol = "tcp"
// protocol = "http"
service {
name = "uuid-api"
// hosts = ["192.168.99.78"]
}
}
}
}
}
}
}
group "generator" {
network {
mode = "bridge"
port "api" {
// nomads choice
to = -1
}
}
service {
name = "uuid-api"
port = "${NOMAD_PORT_api}"
connect {
native = true
}
}
task "generate" {
driver = "docker"
config {
image = "hashicorpnomad/uuid-api:v3"
}
env {
BIND = "0.0.0.0"
PORT = "${NOMAD_PORT_api}"
}
}
}
} using defaults
using configured value
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
consul/connect: set default Envoy worker threads for gateways
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Applying the default
--concurrency
for gateways was missed before.Set the default Envoy concurrency to 1 for connect gateways. The
same override value
meta.connect.proxy_concurrency
applies.