Skip to main content

resize

change a queue's size

Change a queue's size. Moving to or from the size's -ha twin spreads the queue across three zones or back to one. A size with less disk than the current one is refused, because the queued messages may not fit.

Usage​

csph queue resize <name|id> [flags]

Options​

Command Specific​

--environment <string>
environment ID
--instance-type <string>
new size, by name or id (see csph queue instance-types)
--project <string>
project ID

Formatting​

For more information about formatting options, see Formatting.

-o, --output <string>

output format: [table|plain|csv|json|yaml]

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

  csph queue resize jobs --instance-type "Queue 2"

See also​