Skip to content

Instantly share code, notes, and snippets.

@devzorg
Created October 3, 2019 16:22
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 devzorg/28cb1b1c19bfc2093994998f1fe277c5 to your computer and use it in GitHub Desktop.
Save devzorg/28cb1b1c19bfc2093994998f1fe277c5 to your computer and use it in GitHub Desktop.
curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_cluster/settings -d '{ "transient": { "cluster.routing.allocation.disk.threshold_enabled": false } }'
curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment