user3740179
user3740179

Reputation: 143

Elasticsearch - http settings how to set up on kubernetes

I have Elasticsearch installed on kubernetes. Could you tell me how can I set up this option: http.max_content_length

apiVersion: elasticsearch.k8s.elastic.co/v1beta1
kind: Elasticsearch
metadata:
  name: elasticsearch-sample
spec:
  version: 7.5.0
  nodeSets:
  - name: default
    config:
      node.master: true
      node.data: true
      node.ingest: true
      node.ml: true
      http.max_content_length: 300 <--is this a proper place ?
    count: 3

Upvotes: 1

Views: 814

Answers (1)

Amit
Amit

Reputation: 32376

Yes, but you are missing a unit of this size, please add it as well.

http.max_content_length: 300mb --> note `mb`

Upvotes: 1

Related Questions