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
Helm: Add option to deploy Placement with zero replicas #7253
Helm: Add option to deploy Placement with zero replicas #7253
Conversation
The `dapr_placement.scaleZero` option passed to Helm causes the Placement StatefulSet to be deployed but with 0 replicas, regardless of the values of `dapr_placement.ha` or `global.ha.enabled`. This is useful in a few niche scenarios, where it's desirable to have the StatefulSet created, but in a "paused" (i.e. scaled to zero) state, to be able to scale it up later. > This is different from setting `global.actors.enabled=false`, which causes the Placement StatefulSet, and its related Service etc, to not be deployed at all Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
@ItalyPaleAle |
Ok. This doesn't change code however, just adds an option to the chart (untestable with CI) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7253 +/- ##
==========================================
- Coverage 64.47% 64.45% -0.02%
==========================================
Files 238 236 -2
Lines 21814 21669 -145
==========================================
- Hits 14064 13967 -97
+ Misses 6542 6505 -37
+ Partials 1208 1197 -11 ☔ View full report in Codecov by Sentry. |
…scale-zero Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
The
dapr_placement.scaleZero
option passed to Helm causes the Placement StatefulSet to be deployed but with 0 replicas, regardless of the values ofdapr_placement.ha
orglobal.ha.enabled
.This is useful in a few niche scenarios, where it's desirable to have the StatefulSet created, but in a "paused" (i.e. scaled to zero) state, to be able to scale it up later.