Back to Influxdb

influxctl cluster update

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

latest2.1 KB
Original Source

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

[!Warning] This command is not supported by InfluxDB Clustered.

Usage

sh
influxctl cluster update [flags] <CLUSTER_ID>

Arguments

ArgumentDescription
CLUSTER_IDID of the cluster to get

Flags

FlagDescription
--state{{< req >}}: Cluster state (ready or deleted)
--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

Update an InfluxDB cluster
sh
influxctl cluster update \
  --state ready \
  --category contract \
  --ingestor-units 3 \
  --compactor-units 1 \
  --query-units 1 \