Skip to content

Instantly share code, notes, and snippets.

@pydevops
Last active February 20, 2023 10:30
Show Gist options
  • Save pydevops/d4ad555d714056ad85f56a431e655afb to your computer and use it in GitHub Desktop.
Save pydevops/d4ad555d714056ad85f56a431e655afb to your computer and use it in GitHub Desktop.
setup elasticsearch cluster in production
localhost:9200/_cat/indices?pretty

basic concept

monitoring

migration

Terraform

docker

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

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

simple load test

curl -L https://goo.gl/S1Dc3R | bash -s 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment