Skip to content

[1.18] scheduler/placement: v1.18 tuning defaults#5171

Open
JoshVanL wants to merge 4 commits into
dapr:v1.18from
JoshVanL:joshvanl/v1.18-scheduler-tuning
Open

[1.18] scheduler/placement: v1.18 tuning defaults#5171
JoshVanL wants to merge 4 commits into
dapr:v1.18from
JoshVanL:joshvanl/v1.18-scheduler-tuning

Conversation

@JoshVanL
Copy link
Copy Markdown
Contributor

Cover two related v1.18 changes:

dapr/dapr#9942 retunes the Scheduler's embedded etcd for workflow read/write profile:

  • etcd-snapshot-count 10000 -> 100000
  • etcd-compaction-mode periodic -> revision
  • etcd-compaction-retention 10m -> 1000000
  • etcd-backend-batch-limit 5000 -> 10000
  • etcd-backend-batch-interval 50ms -> 100ms
  • new flag --etcd-max-txn-ops, default 10000 (etcd's own default is 128)
  • Helm cluster.storageSize default for fresh installs 1Gi -> 16Gi
    (existing installs keep their PVC size via lookup helper).

Cover two related v1.18 changes:

dapr/dapr#9942 retunes the Scheduler's embedded etcd for workflow
read/write profile:
- etcd-snapshot-count        10000    -> 100000
- etcd-compaction-mode       periodic -> revision
- etcd-compaction-retention  10m      -> 1000000
- etcd-backend-batch-limit   5000     -> 10000
- etcd-backend-batch-interval 50ms    -> 100ms
- new flag --etcd-max-txn-ops, default 10000 (etcd's own default is 128)
- Helm cluster.storageSize default for fresh installs 1Gi -> 16Gi
  (existing installs keep their PVC size via lookup helper).

Signed-off-by: joshvanl <me@joshvanl.dev>
Copilot AI review requested due to automatic review settings May 19, 2026 15:02
@JoshVanL JoshVanL requested review from a team as code owners May 19, 2026 15:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Dapr v1.18 documentation to reflect new default tuning parameters for the Scheduler’s embedded etcd, and includes a small formatting cleanup in the Placement docs.

Changes:

  • Update Scheduler embedded etcd flag defaults in docs (batching, compaction, snapshot count) and document the new --etcd-max-txn-ops flag.
  • Update the Helm values examples in Scheduler docs to match the new defaults.
  • Remove an extra blank line in Placement docs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
daprdocs/content/en/concepts/dapr-services/scheduler.md Updates documented embedded etcd tuning defaults and Helm values; adds the new --etcd-max-txn-ops flag.
daprdocs/content/en/concepts/dapr-services/placement.md Removes an extraneous blank line before “Related links”.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread daprdocs/content/en/concepts/dapr-services/scheduler.md
Copy link
Copy Markdown
Contributor

@nelson-parente nelson-parente left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-review for @marcduiker handoff: LGTM with nits.

  • Scheduler etcd tuning defaults updated accurately: snapshot-count, compaction-mode/retention, batch-limit/interval, new --etcd-max-txn-ops flag, and Helm storageSize bump. All values match the linked dapr/dapr#9942.
  • Nit: the storageSize default change (1Gi → 16Gi) is mentioned in the PR body but isn't reflected in the diff shown — worth confirming that section of the scheduler docs was updated or intentionally omitted.
  • Minor: deleted trailing blank line in placement.md is cosmetic; harmless.
    Nothing blocking — Marc, your call.

@msfussell msfussell added this to the v1.18 milestone May 23, 2026
@JoshVanL
Copy link
Copy Markdown
Contributor Author

@msfussell @nelson-parente @marcduiker please take another look

Copy link
Copy Markdown
Member

@msfussell msfussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

5 participants