Skip to content

Instantly share code, notes, and snippets.

@nmarukovich
Created April 21, 2019 15:06
Show Gist options
  • Save nmarukovich/02a67363d99d913d44c959989ff27ad3 to your computer and use it in GitHub Desktop.
Save nmarukovich/02a67363d99d913d44c959989ff27ad3 to your computer and use it in GitHub Desktop.
turn off shards allocation
curl -XPUT -H 'Content-Type: application/json' 'http://localhost:9200/_cluster/settings?pretty’ -d '{ "transient" : "cluster.routing.allocation.enable" : "none" } }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment