community I need your help, I am using ELK like 3 months, and now I need to add ILM policy in elasticsearch pod in kubernetes with
curl -XPUT -u username:password http://localhost:9200/_ilm/policy/name --header "Content-Type: application/json" -d "@ilm_policy.json "
command, and I want that after restarting or rebuilding that pod, that policy have stay alive.
So I do not know how and where to use this command, Is there any polite strategy for this issue?