Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add min_replicas for SimpleScaler, apply_min_to_namespace config #3282

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

yorik
Copy link
Contributor

@yorik yorik commented Nov 14, 2024

What ❔

Breaking change: config option min_provers is a number now!
Add apply_min_to_namespace to specify which namespace is primary now, min_* is applied only to primary namespace.
Add min_replicas for SimpleScaler.

Why ❔

To allow Witness Generators and Proof Compressors to always run, if needed. This will remove pod start delay of about 2 minutes when new job appears in the queue.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zkstack dev fmt and zkstack dev lint.

ref ZKD-1855

Breaking change: config option `min_provers` is a number now!
Add `apply_min_to_namespace` to specify which namespace is primary now,
`min_*` is applied only to primary namespace.
Add `min_replicas` for SimpleScaler.

ref ZKD-1855
@yorik yorik enabled auto-merge November 14, 2024 16:00
@yorik yorik added this pull request to the merge queue Nov 14, 2024
Merged via the queue into main with commit bc00c4a Nov 14, 2024
36 checks passed
@yorik yorik deleted the ya--implement-poc-of-quick-prover-autoscaler-min branch November 14, 2024 18:10
github-merge-queue bot pushed a commit that referenced this pull request Nov 18, 2024
🤖 I have created a release *beep* *boop*
---


##
[17.1.0](prover-v17.0.0...prover-v17.1.0)
(2024-11-18)


### Features

* Add min_replicas for SimpleScaler, apply_min_to_namespace config
([#3282](#3282))
([bc00c4a](bc00c4a))
* allow vm2 tracers to stop execution
([#3183](#3183))
([9dae839](9dae839))
* **contract-verifier:** Support Solidity contracts with EVM bytecode in
contract verifier
([#3225](#3225))
([8a3a82c](8a3a82c))
* **prover:** Add cluster name autodetection
([#3227](#3227))
([bd32aec](bd32aec))
* **prover:** Add queue metric to report autoscaler view of the queue.
([#3206](#3206))
([2721396](2721396))
* ProverJobProcessor & circuit prover
([#3287](#3287))
([98823f9](98823f9))
* **prover:** Move prover_autoscaler config into crate
([#3222](#3222))
([1b33b5e](1b33b5e))


### Bug Fixes

* **prover:** Remove unneeded dependencies, add default for
graceful_shutdown_timeout
([#3242](#3242))
([1bfff0e](1bfff0e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

2 participants