Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apmpackage: support phases (warm, cold) in ILM in apm package #11579

Open
azhurbilo opened this issue Sep 4, 2023 · 1 comment
Open

apmpackage: support phases (warm, cold) in ILM in apm package #11579

azhurbilo opened this issue Sep 4, 2023 · 1 comment

Comments

@azhurbilo
Copy link

azhurbilo commented Sep 4, 2023

right now, built-in ILM policies with APM package don't use Warm/Cold nodes type

it will be good to support them

image

ideally APM package should support all customisation which ApmServer k8s CRD have

for example

apiVersion: apm.k8s.elastic.co/v1
kind: ApmServer
metadata:
  name: xxxx
spec:
  ...
  elasticsearchRef:
    name: xxx
  kibanaRef:
    name: xxx
  config:
    logging.level: warning
    logging.json: true
    setup:
      dashboards.enabled: true
      ilm:
        enabled: true
        overwrite: true
        policy_file: "ilm-policy.json"
      template:
        settings:
          index:
            number_of_shards: 8
            number_of_replicas: 2
@axw
Copy link
Member

axw commented Sep 5, 2023

In the past we had a warm phase as part of the bundled ILM policy. We remove it, because it turned out not to be a great default: #6170. The issue is that, when combined with autoscaling, it would cause additional (warm) data nodes to be scaled up after some time elapsed.

I agree that it should be possible to customise the policy declaratively. The Elasticsearch team is working on a new, simpler, means of specifying a data stream's retention: https://www.elastic.co/guide/en/elasticsearch/reference/8.10/data-stream-lifecycle.html#data-stream-lifecycle. We will be using this in the future. I'm not currently sure what that means for warm/cold, so I'll leave this open to track.

@azhurbilo azhurbilo changed the title apmpackage: support phases (warm, cold) in DLM in apm package apmpackage: support phases (warm, cold) in ILM in apm package Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants