Skip to content

Instantly share code, notes, and snippets.

@c0mpiler
Forked from pydevops/elasticsearch.md
Created August 17, 2018 00:31
Show Gist options
  • Save c0mpiler/0eccf345ffe45cb88dd91d0e9beba2ef to your computer and use it in GitHub Desktop.
Save c0mpiler/0eccf345ffe45cb88dd91d0e9beba2ef to your computer and use it in GitHub Desktop.
setup elasticsearch cluster in production

basic concept

docker

docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:6.2.4

k8s

cheatsheets

guide

index template

time series data

rolling upgrade

tuning

health

  • _cluster/health?level=indices&pretty cluster health with indices

snapshot status

such as _snapshot/backup/snapshot_1/_status

checking restore status

/_cat/recovery?v /_recovery?human

aws

community

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment