nais opensearch create

nais opensearch create NAME [flags]

This command creates an OpenSearch instance.

Options

--http-max-content-length
Maximum HTTP request content length (for example, 100Mi).
--indices-query-bool-max-clause-count
Maximum number of clauses in a Lucene BooleanQuery.
-m, --memory
MEMORY of the OpenSearch instance. Defaults to GB_4.
--shard-indexing-pressure-enabled
Enable shard indexing pressure (true or false).
--shard-indexing-pressure-enforced
Enforce shard indexing pressure limits (true or false).
--storage-gb
Storage capacity in GB for the OpenSearch instance. Defaults vary for different combinations of TIER and MEMORY.
--tier
TIER of the OpenSearch instance. Defaults to SINGLE_NODE.
--version
Major VERSION of the OpenSearch instance. Defaults to V2.

Inherited options

--config
Specify the PATH to the configuration file.
-e, --environment
Specify the ENVIRONMENT to use for this command. Overrides the default environment from configuration.
--no-colors
Disable colors in the output.
-t, --team
Specify the TEAM to use for this command. Overrides the default team from configuration.
-v, --verbose
Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.

Examples

# Create an OpenSearch instance named some-opensearch with default settings.
$ nais opensearch create some-opensearch

# Create an OpenSearch instance named some-opensearch with the specified |MEMORY|.
$ nais opensearch create some-opensearch --memory GB_4

# Create an OpenSearch instance named some-opensearch with the specified |TIER|.
$ nais opensearch create some-opensearch --tier SINGLE_NODE

# Create an OpenSearch instance named some-opensearch with the specified |VERSION|.
$ nais opensearch create some-opensearch --version V3_3

# Create an OpenSearch instance named some-opensearch with the specified |STORAGE-GB|.
$ nais opensearch create some-opensearch --storage-gb 100

# Create an OpenSearch instance named some-opensearch with all possible options specified.
$ nais opensearch create some-opensearch --memory GB_4 --tier SINGLE_NODE --version V2 --storage-gb 100 --shard-indexing-pressure-enabled true --shard-indexing-pressure-enforced false --indices-query-bool-max-clause-count 2048 --http-max-content-length 200Mi