---
title: "ezgh hosted-queues clusters update"
description: "Change a cluster."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh hosted-queues clusters update

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh hosted-queues clusters update <cluster> [flags] [--wait]
```

Change a cluster. Only what's given changes. `--tag` replaces all its tags and `--clear-tags` removes them. Storage only grows. A new instance type changes the nodes one at a time on a replicated cluster. `--unauthenticated-access` (Kafka) is readWrite, readOnly or off; turning it on or off restarts the brokers one at a time. `clusters grow` makes a single node replicated and `clusters upgrade` moves to a newer version. `--wait` waits until it's done and prints it.

Part of [`ezgh hosted-queues clusters`](/cli/reference/hosted-queues-clusters).

## Examples

```sh
ezgh hosted-queues clusters update events --storage-size-gib 200 --wait
ezgh hosted-queues clusters update posthog --unauthenticated-access readWrite --wait
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--allowed-source-cidr` | string, repeatable |  | an IPv4 CIDR that may connect; repeat for more, at most 20; replaces them all |
| `--auto-create-topics` | boolean |  | Kafka only: create a topic a client names (`--auto-create-topics=false` turns it off) |
| `--clear-tags` | boolean |  | remove its tags |
| `--default-partitions` | int |  | Kafka only: partitions of an auto-created topic, 1 to 100 |
| `--default-retention-ms` | int |  | Kafka only: how long topics keep messages unless they say otherwise, in ms; -1 keeps them |
| `--deletion-protection` | boolean |  | refuse deletes (`--deletion-protection=false` allows them again) |
| `--description` | string |  | a new description |
| `--instance-type` | string |  | a new instance type |
| `--maintenance-window` | string |  | when maintenance happens, ddd:HH:MM-ddd:HH:MM UTC |
| `--name` | string |  | a new name |
| `--plaintext-port` | boolean |  | serve password over plaintext inside the VPC (`--plaintext-port=false` turns it off) |
| `--storage-size-gib` | int |  | each node's larger storage, in GiB |
| `--tag` | string, repeatable |  | a tag, key=value; repeat for more; replaces them all |
| `--unauthenticated-access` | string |  | Kafka only: TLS port 9091 with no authentication, readWrite, readOnly or off |
| `--wait` | boolean |  | wait until it's done, and print it then |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/hosted-queues-clusters-update/index.mdx
