# Elastic life cycle management

**URL:** <https://discuss.elastic.co/t/elastic-life-cycle-management/293392>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [January 3, 2022, 11:54pm UTC](https://discuss.elastic.co/t/elastic-life-cycle-management/293392 "2022-01-03T23:54:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bargb](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@bargb](https://discuss.elastic.co/u/bargb)\
**Post date:** [January 3, 2022, 11:54pm UTC](https://discuss.elastic.co/t/elastic-life-cycle-management/293392/1 "2022-01-03T23:54:51Z")

</div>

Hello All.

I am relatively new to elastic and trying to configure elastic policy for life cycle management on a Kubernetes env.

I see that we can configure using curl request.

> **[Set up index lifecycle management policy | Elasticsearch Guide \[6.8\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/set-up-lifecycle-policy.html)**

Is there are corresponding CLI?

I want to control using configmap of kubernetes.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 4, 2022, 1:10am UTC](https://discuss.elastic.co/t/elastic-life-cycle-management/293392/2 "2022-01-04T01:10:23Z")

</div>

There is no CLI tool, you need to use the API Endpoint, the Kibana interface or write your own CLI tool using one of the [clients](https://www.elastic.co/guide/en/elasticsearch/client/index.html).

---

<div class="post-metadata">

**Author:** ![bargb](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@bargb](https://discuss.elastic.co/u/bargb)\
**Post date:** [January 4, 2022, 4:04am UTC](https://discuss.elastic.co/t/elastic-life-cycle-management/293392/3 "2022-01-04T04:04:29Z")

</div>

Thanks @leandrojmp.

Does Kibana something that i can control using configmap?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 4, 2022, 12:49pm UTC](https://discuss.elastic.co/t/elastic-life-cycle-management/293392/4 "2022-01-04T12:49:33Z")

</div>

I don't think so, Kibana is the user interface of the stack used to visualize the data and manage the cluster, it also has some rest APIs.

Basically everything in Elasticsearch is REST based.

I do not have much experience with k8s, but normally with Elasticsearch people only use configmap to control the configuration file `elasticsearch.yml`, that you barely change after you started your cluster.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 1, 2022, 12:50pm UTC](https://discuss.elastic.co/t/elastic-life-cycle-management/293392/5 "2022-02-01T12:50:05Z")

</div>

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