Upgrading a cluster¶
Upgrading (i.e. 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¶
- Edit the
clusters.yaml
file and modify the node type and volume sizes to the new configuration you want. See Updating infra specs for project clusters. - Run the command:
$ hasura cluster upgrade -c <cluster-alias>
Was this page helpful?