Skip to content

Placement -> Scheduler CLI Changes - #1692

Open
cicoyle wants to merge 2 commits into
dapr:masterfrom
cicoyle:feat-placement-in-scheduler
Open

Placement -> Scheduler CLI Changes#1692
cicoyle wants to merge 2 commits into
dapr:masterfrom
cicoyle:feat-placement-in-scheduler

Conversation

@cicoyle

@cicoyle cicoyle commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Placement -> Scheduler CLI Changes

Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Copilot AI lite review requested due to automatic review settings August 24, 2026 17:02
@cicoyle
cicoyle requested review from a team as code owners August 24, 2026 17:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the self-hosted initialization flow to support running actor placement via the scheduler (instead of the standalone placement service), and adjusts related CLI behaviors and certificate renewal restarts accordingly.

Changes:

  • Add --scheduler-placement to dapr init and propagate it into standalone init behavior.
  • Skip running/installing placement (container and slim binary) when scheduler placement is enabled, and enable placement in the scheduler container.
  • Include the scheduler StatefulSet in control-plane restarts during certificate renewal, skipping restarts for workloads that are not deployed.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
pkg/standalone/standalone.go Adds scheduler-placement capability checks, wiring, and container/binary behavior changes.
pkg/standalone/standalone_test.go Adds unit tests for scheduler-placement version gating.
cmd/renew_certificate.go Restarts scheduler StatefulSet (when present) during certificate renewal.
cmd/init.go Adds the --scheduler-placement flag and passes it to standalone init.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread pkg/standalone/standalone.go
Comment thread cmd/renew_certificate.go
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
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