Avisi cloud logo
Commands

clusters upgrade

upgrade a cluster to a new AME version

acloud clusters upgrade [cluster-slug]... [flags]

Examples

# upgrade a cluster to the latest available patch version
# searches for best match automatically
# - does not switch OS if current OS is available within minor
# - does not upgrade minor version
acloud clusters upgrade organisation/environment/cluster --version next
 
# upgrade a cluster to the next available minor version
# searches for best match automatically
# - does not switch OS if current OS is available within next minor
# - does upgrade minor version by 1
acloud clusters upgrade organisation/environment/cluster --version upgrade
 
# upgrade a cluster to a specific version
acloud clusters upgrade organisation/environment/cluster --version v1.22.6-ame.0-rc0
 
# upgrade multiple clusters to a specific version
acloud clusters upgrade organisation/environment/cluster-1 organisation/environment/cluster-2 --version v1.22.6-ame.0-rc0
 
# upgrade multiple clusters to their latest available patch version
acloud clusters upgrade organisation/environment/cluster-1 organisation/environment/cluster-2 --version next
 
# upgrade multiple clusters to their next available minor version
acloud clusters upgrade organisation/environment/cluster-1 organisation/environment/cluster-2 --version upgrade

Options

  -h, --help                   help for upgrade
      --version string         upgrade cluster to AME version (values 'next' and 'upgrade' can be used to upgrade to the next available patch version or upgrade to the next available minor version) (default "next")
      --yes-i-am-really-sure   confirm upgrading the cluster(s)

Options inherited from parent commands

  -C, --context string                    sets the context
      --debug                             enable debug mode
      --debug-show-authorization-header   prints actual authorization header in debug mode, use with caution!
  -O, --organisation string               sets the organisation
      --request-timeout duration          request timeout for api calls to the Avisi Cloud API (default 15s)
      --trace                             enable trace mode

SEE ALSO

On this page