2.3 KiB
2.3 KiB
| title | description | menu | weight | draft | ||||
|---|---|---|---|---|---|---|---|---|
| influxctl cluster update | The `influxctl cluster update` command updates an InfluxDB cluster. |
|
301 | true |
The influxctl cluster update command updates an {{% product-name omit=" Clustered" %}} cluster.
[!Warning] This command is not supported by InfluxDB Clustered.
Usage
influxctl cluster update [flags] <CLUSTER_ID>
Arguments
| Argument | Description |
|---|---|
| CLUSTER_ID | ID of the cluster to get |
Flags
| Flag | Description | |
|---|---|---|
--state |
{{< req >}}: Cluster state (ready or deleted) |
|
--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
Update an InfluxDB cluster
influxctl cluster update \
--state ready \
--category contract \
--ingestor-units 3 \
--compactor-units 1 \
--query-units 1 \