Skip to content

feat(cloud): manage service scaling schedules - #748

Open
sdairs wants to merge 1 commit into
stack/574-service-settingsfrom
stack/572-scaling-schedules
Open

feat(cloud): manage service scaling schedules#748
sdairs wants to merge 1 commit into
stack/574-service-settingsfrom
stack/572-scaling-schedules

Conversation

@sdairs

@sdairs sdairs commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Adds native cloud service scaling-schedule get|set|delete commands for the beta service scaling-schedule API. set accepts the complete typed request from --file or stdin, preserves omitted overrides, validates the current UTC/day, memory, replica, and autoscaling-mode contract before HTTP, and treats the entry list as a full replacement. GET and SET preserve the full typed response in JSON and render sparse responses safely in human mode; write commands require API-key authentication.

The README now documents UTC scheduling, vertical and horizontal entry shapes, response-only fields, base-config ownership, and the get/edit/set/delete workflow.

Validation:

  • cargo fmt --all -- --check
  • cargo clippy -p clickhousectl -- -D warnings
  • cargo check -p clickhousectl --no-default-features
  • cargo clippy -p clickhousectl --all-targets --no-default-features -- -D warnings
  • cargo test -p clickhousectl (1144 unit passed, 1 ignored; 377 cloud request-shape passed, 1 ignored; all local and telemetry test binaries passed)

Closes #572

@sdairs
sdairs requested a review from iskakaushik as a code owner September 5, 2026 13:47
@sdairs sdairs added this to the v0.5.0 milestone Sep 5, 2026
@sdairs
sdairs requested a review from rndD as a code owner September 5, 2026 13:47
@sdairs sdairs linked an issue Sep 5, 2026 that may be closed by this pull request
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.

Expose service scaling schedules

1 participant