Skip to content

Instantly share code, notes, and snippets.

@Dudesons
Created December 2, 2019 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dudesons/f4af00f15790175e3f360577b8f04f15 to your computer and use it in GitHub Desktop.
Save Dudesons/f4af00f15790175e3f360577b8f04f15 to your computer and use it in GitHub Desktop.
cluster:
name: datawarehouse
routing:
allocation:
awareness:
attributes: all
discovery:
zen:
hosts_provider: file
network:
host: 0.0.0.0
publish_host: ${POD_IP}
node:
attr:
zone: europe-west1-a
data: false
master: true
name: ${POD_NAME}
path:
data: /usr/share/elasticsearch/data
logs: /usr/share/elasticsearch/logs
xpack:
security:
authc:
realms:
file:
file1:
order: -100
reserved_realm:
enabled: "false"
enabled: "true"
http:
ssl:
certificate: /usr/share/elasticsearch/config/http-certs/tls.crt
certificate_authorities: /usr/share/elasticsearch/config/http-certs/ca.crt
enabled: true
key: /usr/share/elasticsearch/config/http-certs/tls.key
transport:
ssl:
certificate: /usr/share/elasticsearch/config/node-transport-cert/transport.tls.crt
certificate_authorities:
- /usr/share/elasticsearch/config/transport-certs/ca.crt
enabled: "true"
key: /usr/share/elasticsearch/config/node-transport-cert/transport.tls.key
verification_mode: certificate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment