docs-v2/content/influxdb3/clustered/reference/cli/influxctl/cluster/create.md

2.3 KiB

title description menu weight draft
influxctl cluster create The `influxctl cluster create` command creates an InfluxDB cluster.
influxdb3_clustered
parent
influxctl cluster
301 true

The influxctl cluster create command creates an {{% product-name omit=" Clustered" %}} cluster.

{{% warn %}} This command is not supported by InfluxDB Clustered.

{{% /warn %}}

Usage

influxctl cluster create [flags]

Flags

Flag Description
--region {{< req >}}: Region to create cluster in
--category {{< req >}}: Cluster category (contract, internal, unpaid_poc, paid_poc, or system)
--ingestor-units Ingestor units (default is 0)
--ingestor-granularity Ingestor granularity (default is 0)
--compactor-units Compactor units (default is 0)
--compactor-granularity Compactor granularity (default is 0)
--query-units Query units (default is 0)
--query-granularity Query granularity (default is 0)
-h --help Output command help

{{% caption %}} Also see influxctl global flags. {{% /caption %}}

Examples

Create an InfluxDB cluster
influxctl cluster create \
  --region us-west-2 \
  --category internal \
  --ingestor-units 3 \
  --compactor-units 1 \
  --query-units 1 \
  example-cluster-name