Wednesday, May 30, 2018

Elastic Cloud Enterprise - How To Disable Kibana Node Creation On A Allocator

User case:

We have an ECE cluster which has 3 different availablilty zones. One of the AZ is just to server a "TieBreaker" Zone and it has very low hardware configurations. We would like to disable the Kibana node creation on this host.

The API command:

$ curl -u root:password -X POST -H 'Content-Type: application/json' https://<ece-root>/api/v0/regions/ece-regions/allocators/<availability-zone>/<allocator>/_update -d '{"overrides":{"features":{"kibana":false}}}'
Example:
$ curl -u root:password -X POST -H 'Content-Type: application/json' https://10.0.0.2:12400/api/v0/regions/ece-regions/allocators/region-1/ecehost001/_update -d '{"overrides":{"features":{"kibana":false}}}'

Note:

This update will override the previous settings, so if you want to keep the previous settings you will have to add them into the payload.

No comments: