Closed cicoyle closed 1 month ago
Looks like dapr init with scheduler is required for 1.14, but is not the scheduler apis. Will come back to the apis after 1.14, but I still need input on dapr init
w/ scheduler
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.
I am trying to test the CLI code locally for Scheduler changes. This has proved to not be as simple as I had hoped for. I am looking for suggestions on ways around my blockers, as this change is required for this release.
Currently, I am running into 2 issues that are preventing my scheduler cli work from being tested.
./dist/darwin_arm64/release/dapr list
to find my running daprd + scheduler. I have tried running them inside docker and separately by running the binaries. This is a blocker, as I am unable to test my./dist/darwin_arm64/release/dapr job schedule --name=cassie --schedule="@hourly" --app-id=sub
command bc the cli cant find my running instances./dist/darwin_arm64/release/dapr job schedule --name=cassie --schedule="@hourly" --app-id=sub ❌ Error scheduling job cassie: couldn't find a running Dapr instance
./dist/darwin_arm64/release/dapr init
⌛ Making the jump to hyperspace... ℹ️ Container images will be pulled from Docker Hub ℹ️ Installing runtime version 1.13.2 ❌ Downloading binaries and setting up components... ❌ docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./scheduler": stat ./scheduler: no such file or directory: unknown.
docker run --name dapr_scheduler -v /Users/cassie/go/src/github.com/dapr/cmd/scheduler/data-default-dapr-scheduler-server-0:/data-default-dapr-scheduler-server-0 -it diagrid/dapr/scheduler:dev-linux-arm64 ./scheduler
docker run --name dapr -it diagrid/dapr/dapr:dev-linux-arm64 ./daprd --app-id=sub