# replicated cluster upgrade

Upgrade a test cluster.

### Synopsis

The 'upgrade' command upgrades a Kubernetes test cluster to a specified version. You must provide a cluster ID or name and the version to upgrade to. The upgrade can be simulated with a dry-run option, or you can choose to wait for the cluster to be fully upgraded.

```
replicated cluster upgrade [ID_OR_NAME] [flags]
```

### Examples

```
# Upgrade a cluster to a new Kubernetes version
replicated cluster upgrade CLUSTER_ID_OR_NAME --version 1.31

# Perform a dry run of a cluster upgrade without making any changes
replicated cluster upgrade CLUSTER_ID_OR_NAME --version 1.31 --dry-run

# Upgrade a cluster and wait for it to be ready
replicated cluster upgrade CLUSTER_ID_OR_NAME --version 1.31 --wait 30m
```

### Options

```
      --dry-run          Dry run
  -h, --help             help for upgrade
  -o, --output string    The output format to use. One of: json|table|wide (default "table")
      --version string   Kubernetes version to upgrade to (format is distribution dependent)
      --wait duration    Wait duration for cluster to be ready (leave empty to not wait)
```

### Options inherited from parent commands

```
      --app string       The app slug or app id to use in all calls
      --debug            Enable debug output
      --profile string   The authentication profile to use for this command
      --token string     The API token to use to access your app in the Vendor API
```

### SEE ALSO

* [replicated cluster](replicated-cli-cluster)	 - Manage test Kubernetes clusters.