Upgrading a cluster

Upgrading (ie: scaling) a cluster is only possible for a Hasura pro-tier cluster.

A cluster’s initial configuration is set in clusters.yaml.

Subsequent changes to a cluster’s configuration can be made by either modifying the infra spec as documented here, or by using the Pricing Calculator, and then applying these changes.

Note

On Digital Ocean, a cluster cannot be scaled down below the initial configuration of the cluster.

Using the pricing calculator

  • Choose a configuration using the Pricing Calculator and copy the generated infra code.
  • Run the command:
$ hasura cluster upgrade -c <cluster-alias> --infra <infra-code>

Modifying infra specs

$ hasura cluster upgrade -c <cluster-alias>