Can I disable the ML controller?


I'm configuring an ES 8 cluster, and I'm not interested in the ML capabilities so I'm disabling them using false

But when I start the node I still can see the process /usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/controller running.

Is there a way to stop it from starting? Or it has to be running even if the ML capabilities are disabled in node config?

AFAIK there is no supported way to prevent the ML process from starting.

Having said that, you may try running this inside your ES directory:

rm -rf modules/x-pack-ml

However, as I said, it's not tested nor supported so you might run into unexpected behavior/consequences.
The reason for these unexpected consequences might be some other ES/Kibana functionality using ML indirectly. If you happen to be using such a functionality, you might get errors in the logs and/or showing up as toasts in the browser.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.