Skip to content

Commit

Permalink
Scheduler: Adds notes about Scheduler namespace controller
Browse files Browse the repository at this point in the history
Signed-off-by: joshvanl <me@joshvanl.dev>
  • Loading branch information
JoshVanL committed Sep 1, 2024
1 parent 225343e commit 8c0de8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion daprdocs/content/en/concepts/dapr-services/scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ The Scheduler service Docker container is started automatically as part of `dapr

The Scheduler service is deployed as part of `dapr init -k`, or via the Dapr Helm charts. For more information on running Dapr on Kubernetes, visit the [Kubernetes hosting page]({{< ref kubernetes >}}).

+{{% alert title="Note" color="primary" %}}
+The Scheduler will delete all Jobs in a Kubernetes Namespace (including [Actor Reminders]({{< ref actors-timers-reminders.md >}}) if the [`SchedulerReminders`]({{< ref support-preview-features.md >}}) feature is enabled) when that Namespace is deleted.
+{{% /alert %}}

## Related links

[Learn more about the Jobs API.]({{< ref jobs_api.md >}})
[Learn more about the Jobs API.]({{< ref jobs_api.md >}})
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ description: "Configure Scheduler to persist its database to make it resilient t
The [Scheduler]({{< ref scheduler.md >}}) service is responsible for writing jobs to its embedded Etcd database and scheduling them for execution.
By default, the Scheduler service database writes this data to a Persistent Volume Claim of 1Gb of size using the cluster's default [storage class](https://kubernetes.io/docs/concepts/storage/storage-classes/). This means that there is no additional parameter required to run the scheduler service reliably on most Kubernetes deployments, although you will need additional configuration in some deployments or for a production environment.

{{% alert title="Note" color="primary" %}}
+The Scheduler will delete all Jobs in a Kubernetes Namespace (including [Actor Reminders]({{< ref actors-timers-reminders.md >}}) if the [`SchedulerReminders`]({{< ref support-preview-features.md >}}) feature is enabled) when that Namespace is deleted.
{{% /alert %}}

## Production Setup

In case your Kubernetes deployment does not have a default storage class or you are configuring a production cluster, defining a storage class is required.
Expand Down

0 comments on commit 8c0de8c

Please sign in to comment.