PlanetScale CLI commands: size
Postgres
Lists the sizes for various components within PlanetScale.
Usage
pscale size [command]
Available commands
Command | Description |
---|---|
cluster | List the sizes for PlanetScale databases |
Flags
Flag | Description |
---|---|
-h , --help | Help for size |
--org string | The organization for the current user |
Global flags
Command | Description |
---|---|
--api-token string | The API token to use for authenticating against the PlanetScale API |
--api-url string | The base URL for the PlanetScale API. (default "https://api.planetscale.com/") |
--config string | Config file (default is $HOME/.config/planetscale/pscale.yml) |
--debug | Enable debug mode |
-f , --format string | Show output in a specific format. Possible values: [human, json, csv] (default "human") |
--no-color | Disable color output |
--service-token string | The service token for authenticating |
--service-token-id string | The service token ID for authenticating |
The cluster
sub-command
List the sizes for PlanetScale databases.
Usage:
pscale size cluster [command]
Aliases: cluster
, clusters
Available sub-commands
Command | Description |
---|---|
list | List the sizes that are available for a PlanetScale database |
The list
sub-command
List the sizes that are available for a PlanetScale database.
Usage:
pscale size cluster list [flags]
Aliases: list
, ls
Available flags
Flag | Description |
---|---|
-h , --help | Help for list |
--metal | View cluster sizes and rates for clusters with metal storage |
--region string | View cluster sizes and rates for a specific region |
Examples
List all available cluster sizes
pscale size cluster list
List cluster sizes for a specific organization
pscale size cluster list --org <ORG_NAME>
List cluster sizes for a specific region
pscale size cluster list --region <REGION_NAME>
List Metal cluster sizes
pscale size cluster list --metal
For more information about PlanetScale cluster sizes and pricing, see the PlanetScale plans documentation.
Need help?
Get help from the PlanetScale Support team, or join our GitHub discussion board to see how others are using PlanetScale.