ILM in kubernetes

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?

Are you using ECK?

1 Like

@warkolm
not, I am using ELK in our environments

I meant the Elastic Cloud for Kubernetes operator.

not bro

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