Elasticsearch processor environment variable

Hi,

I recently posted a question about threadpools for my stack on kubernetes. (Question about threadpools)
I'm planning to manually increase the node processor count. On docker-compose i can just add "processors=x" to elasticsearch env section. Can it be done the same way on kubernetes or do i have to edit the yaml like shown in this link Manage compute resources | Elastic Cloud on Kubernetes [1.5] | Elastic ?

the snippet from the link:

resources:
            requests:
              memory: 4Gi
              cpu: 8

Hi,

As the documentation Manage compute resources | Elastic Cloud on Kubernetes [1.5] | Elastic mentions, you should first define resources.requests.cpu and the number of processors should be detected automatically.

If you want to set your own value for node.processors, it is a setting of the Elasticsearch configuration:

apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: example
spec:
  version: 7.12.0
  nodeSets:
  - name: default
    count: 3
    config:
      node.processors: ?

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