Skip to main content

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 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] [flags]

Examples

# Upgrade a cluster to a new Kubernetes version
replicated cluster upgrade [CLUSTER_ID] --version 1.31

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

# Upgrade a cluster and wait for it to be ready
replicated cluster upgrade [CLUSTER_ID] --version 1.31 --wait 30m

Options

      --dry-run          Dry run
-h, --help help for upgrade
--output string The output format to use. One of: json|table|wide (default: table) (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
--integration-test string Set to the name of the integration test to run
--log-api-calls string Log the API calls to the specified file
--token string The API token to use to access your app in the Vendor API

SEE ALSO

Auto generated by spf13/cobra on 22-Jan-2025