{{ message }}
Repository navigation
Conversation
The new release adds `allow_additional_disk_decrease` to `UpdateClusterRequest`, which `cluster scale` needs to lower a disk. It also removes the REST and gRPC ports from serverless space endpoints, so `serverless space describe` no longer prints them.
…decrease The platform can now lower a cluster's disk, but doing so deletes the cluster's local snapshots. `cluster scale` refused every decrease until now. A lower `--disk` now needs the new `--allow-disk-decrease` flag. Without it the command fails before it sends any update, also with `--force`, so a script cannot lower the disk by accident. With the flag, the request sets `allow_additional_disk_decrease` and the new additional disk. The opt-in is sent only when the disk drops. A `--disk` below the package baseline is still raised to the baseline and a package change alone keeps the total disk. A snapshot-loss warning prints before the prompt, and `--force` does not skip it.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds support for disk scale down and explicitly guards against
--forceusage in scripts silently making "lower disk" cluster modifications. Whether that will succeed or not a detail that is not relevant to the API. Any errors returned by the API are still received by the CLI as is.Intentionally in draft state until the API is released to prod.
Review guidelines. Can be reviewed iteratively per commit: