env {
ES_JAVA_OPTS = "-Xms8g -Xmx8g"
} template {
data = <<EOH
cluster.name: "escluster"
network.host: {{ env "attr.unique.network.ip-address" }}
discovery.zen.minimum_master_nodes: 2
network.publish_host: {{ env "attr.unique.network.ip-address" }}
{{ if service "escluster-transport"}}discovery.zen.ping.unicast.hosts:{{ range service "escluster-transport" }}
- {{ .Address }}:{{ .Port }}{{ end }}{{ end }}
http.port: {{ env "NOMAD_HOST_PORT_http" }}
http.publish_port: {{ env "NOMAD_HOST_PORT_http" }}
transport.tcp.port: {{ env "NOMAD_HOST_PORT_transport" }}
transport.publish_port: {{ env "NOMAD_HOST_PORT_transport" }}
action.auto_create_index: filebeat*
readonlyrest:
enable: false
EOH
destination = "local/elasticsearch.yml"
change_mode = "noop"
} volumes = [
"local/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml",
]FROM docker.elastic.co/elasticsearch/elasticsearch:5.4.0
RUN elasticsearch-plugin remove x-packHow to do the equivalent for - "ES_JAVA_OPTS=-Xms512m -Xmx512m" in Nomad as there is a key but no value?I have tried (to no avail):a) ES_JAVA_OPTS="-Xms512m -Xmx512m"
--This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.GitHub Issues: https://github.com/hashicorp/nomad/issuesIRC: #nomad-tool on Freenode---You received this message because you are subscribed to the Google Groups "Nomad" group.To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/0e99ce82-d0dc-4157-a824-932479b2f236%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.