I created an ILP and was able to succesfully add it. I no longer need the ILP so what I did is:
removed the ILP from the index (POST index/_ilm/remove)
turned off ILM (POST _ilm/stop)
deleted the ILP completely
I have restarted the nodes since then, however, newly created indices are still getting assigned with the ILP. I have confirmed that the ILM is turned off and that the ILP no longer exist (GET _ilm/policy).
Why is it still getting assigned? How do I remove the ILP completely? How do I stop the ILP from getting assigned to the new indices?
It sounds like you have a template configured to automatically set the index.lifecycle.name setting on newly created indices. If you check your templates (GET /_template) you should be able to see for sure.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.