Back to Influxdb

influxctl cluster create

content/influxdb3/clustered/reference/cli/influxctl/cluster/create.md

latest2.1 KB
Original Source

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

[!Warning] This command is not supported by InfluxDB Clustered. For information about create an InfluxDB Cluster, see Install InfluxDB Clustered.

Usage

sh
influxctl cluster create [flags]

Flags

FlagDescription
--region{{< req >}}: Region to create cluster in
--category{{< req >}}: Cluster category (contract, internal, unpaid_poc, paid_poc, or system)
--ingestor-unitsIngestor units (default is 0)
--ingestor-granularityIngestor granularity (default is 0)
--compactor-unitsCompactor units (default is 0)
--compactor-granularityCompactor granularity (default is 0)
--query-unitsQuery units (default is 0)
--query-granularityQuery granularity (default is 0)
-h--helpOutput command help

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

Examples

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