Skip to content

Add disk autoscaling settings to keyspace settings commands - #1398

Open
inelpandzic wants to merge 2 commits into
mainfrom
inel/disk-autoscale-setting-expose
Open

Add disk autoscaling settings to keyspace settings commands#1398
inelpandzic wants to merge 2 commits 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.

@inelpandzic
inelpandzic marked this pull request as ready for review September 8, 2026 08:41
@inelpandzic
inelpandzic requested a review from a team as a code owner September 8, 2026 08:41
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