style(elk): clean up whitespace and formatting in job specification
This commit is contained in:
parent
32c6b85d4f
commit
e798fead7c
1 changed files with 5 additions and 5 deletions
|
@ -69,14 +69,14 @@ job "elk" {
|
||||||
ulimit {
|
ulimit {
|
||||||
memlock = "-1:-1"
|
memlock = "-1:-1"
|
||||||
}
|
}
|
||||||
|
|
||||||
mount {
|
mount {
|
||||||
type = "bind"
|
type = "bind"
|
||||||
source = "local/unicast_hosts.txt"
|
source = "local/unicast_hosts.txt"
|
||||||
target = "/usr/share/elasticsearch/config/unicast_hosts.txt"
|
target = "/usr/share/elasticsearch/config/unicast_hosts.txt"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
env {
|
env {
|
||||||
ES_PATH_CONF = "/usr/share/elasticsearch/config"
|
ES_PATH_CONF = "/usr/share/elasticsearch/config"
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@ job "elk" {
|
||||||
cpu = 2000
|
cpu = 2000
|
||||||
memory = 2048
|
memory = 2048
|
||||||
}
|
}
|
||||||
|
|
||||||
template {
|
template {
|
||||||
data = <<-EOF
|
data = <<-EOF
|
||||||
{{ range service "elk-node-elasticsearch-transport" }}
|
{{ range service "elk-node-elasticsearch-transport" }}
|
||||||
|
@ -98,13 +98,13 @@ job "elk" {
|
||||||
}
|
}
|
||||||
|
|
||||||
service {
|
service {
|
||||||
name = "elk-node-elasticsearch-http"
|
name = "elk-node-elasticsearch-http"
|
||||||
provider = "consul"
|
provider = "consul"
|
||||||
port = "http"
|
port = "http"
|
||||||
}
|
}
|
||||||
|
|
||||||
service {
|
service {
|
||||||
name = "elk-node-elasticsearch-transport"
|
name = "elk-node-elasticsearch-transport"
|
||||||
provider = "consul"
|
provider = "consul"
|
||||||
port = "transport"
|
port = "transport"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue