Nais OpenSearch reference ΒΆ

This document describes all possible configuration values in the OpenSearch spec.

http ΒΆ

Http controls HTTP settings for the OpenSearch instance.

Type: object
Required: false

Example

yaml

http.maxContentLength ΒΆ

Maximum content length for HTTP requests to the OpenSearch HTTP API. Default is 100mb. The value is specified as a Kubernetes resource.Quantity, e.g. "100Mi", "1Gi". Unitless values are interpreted as bytes. Minimum value is 1048576 bytes (1Mi), maximum value is 2147483647 bytes (approximately 2047Mi).

Type: object
Required: false

Example

yaml

indices ΒΆ

Indices controls index settings for the OpenSearch instance.

Type: object
Required: false

Example

yaml

indices.queryBoolMaxClauseCount ΒΆ

Maximum number of clauses Lucene BooleanQuery can have. The default value (1024) is relatively high, and increasing it may cause performance issues. Investigate other approaches first before increasing this value.

Type: integer
Required: false
Value range: 64-4096

Example

yaml

memory ΒΆ

Memory defines the available memory for the OpenSearch instance

Type: enum
Required: true
Allowed values: 16GB, 2GB, 32GB, 4GB, 64GB, 8GB

Example

yaml

shardIndexingPressure ΒΆ

ShardIndexingPressure controls the shard indexing back pressure settings.

Type: object
Required: false

Example

yaml

shardIndexingPressure.enabled ΒΆ

Enable or disable shard indexing backpressure. Default is false.

Type: boolean
Required: false

Example

yaml

shardIndexingPressure.enforced ΒΆ

Run shard indexing backpressure in shadow mode or enforced mode. In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics, but it doesn’t actually reject any indexing requests. In enforced mode (value set as true), shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance.

Type: boolean
Required: false

Example

yaml

storageGB ΒΆ

StorageGB defines the storage capacity in gigabytes

Type: integer
Required: true
Minimum value: 16

Example

yaml

tier ΒΆ

Tier defines the tier of the OpenSearch instance

Type: enum
Required: true
Allowed values: HighAvailability, SingleNode

Example

yaml

version ΒΆ

Version defines the OpenSearch version

Type: enum
Required: true
Allowed values: 1, 2, 2.19, 3.3, 3.6

Example

yaml