Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# set the following cluster settings to prevent rebalancing
curl -XPUT 'localhost:9200/_cluster/settings?pretty' -H 'Content-Type: application/json' -d'
{
"persistent": {
"cluster.routing.allocation.enable": "none"
}
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment