fix(elk): update inbound port from 8080 to 9200 for es nodes
- this is the standard port for http es - services can now connect on the standard port with service discovery from outside the cluster
This commit is contained in:
parent
cfb99179b6
commit
66c258aabc
1 changed files with 3 additions and 3 deletions
|
@ -122,13 +122,13 @@ job "elk" {
|
||||||
network {
|
network {
|
||||||
mode = "bridge"
|
mode = "bridge"
|
||||||
port "inbound" {
|
port "inbound" {
|
||||||
to = 8080
|
static = 9200
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
service {
|
service {
|
||||||
name = "es-ingress-service"
|
name = "es-ingress-service"
|
||||||
port = "inbound"
|
port = 9200
|
||||||
|
|
||||||
tags = [
|
tags = [
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
|
@ -143,7 +143,7 @@ job "elk" {
|
||||||
gateway {
|
gateway {
|
||||||
ingress {
|
ingress {
|
||||||
listener {
|
listener {
|
||||||
port = 8080
|
port = 9200
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
service {
|
service {
|
||||||
name = "elk-node"
|
name = "elk-node"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue