Skip to content

Add disk autoscaling settings to keyspace settings commands - #1398

Draft
inelpandzic wants to merge 1 commit into
mainfrom
inel/disk-autoscale-setting-expose
Draft

Add disk autoscaling settings to keyspace settings commands#1398
inelpandzic wants to merge 1 commit into
mainfrom
inel/disk-autoscale-setting-expose

Conversation

@inelpandzic

Copy link
Copy Markdown

What

Add optional --disk-scaling-strategy and --max-storage flags to pscale keyspace update-settings, and show the current disk autoscaling configuration in pscale keyspace settings.

--disk-scaling-strategy accepts grow, disable, or shrink: grow lets dedicated disks grow automatically up to the storage limit, disable turns autoscaling off, and shrink recreates disks at their initial size and then disables autoscaling. --max-storage sets the maximum size in bytes that dedicated disks may autoscale to.

Invalid strategies are rejected client-side with the list of valid values, and the flag supports shell completion. Settings are only included in the update request when their flags are explicitly passed, so omitting them preserves the keyspace's existing configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant