8000 Hot-reloading of resiliency policies · Issue #5435 · dapr/dapr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Hot-reloading of resiliency policies #5435

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

Open
ItalyPaleAle opened this issue Oct 31, 2022 · 2 comments
Open

Hot-reloading of resiliency policies #5435

ItalyPaleAle opened this issue Oct 31, 2022 · 2 comments

Comments

@ItalyPaleAle
Copy link
Contributor

In what area(s)?

/area runtime

/area operator

Describe the feature

Resiliency policies are defined in Resiliency CRDs and are loaded by daprd as soon as it starts up, requesting the list of policies from the Dapr Operator service. For self-hosted, they are loaded from disk when daprd starts.

Because they are only loaded once, if the resiliency policies change, pods need to be restarted to pick up the updated policies.

We should implement a way for daprd to "hot-reload" resiliency policies when they are changed. In K8s, this would happen by periodically polling the Dapr Operator to get updated policies (the polling interval will be configurable, but it should not require a persistent gRPC streaming connection, which is expensive).

This effort is somewhat connected to hot reloading of components, although this is going to be much simpler to implement as for components that requires reviewing all 110+ components to ensure they can be unloaded safely.

Release Note

RELEASE NOTE: ADD Hot-reloading for Dapr resiliency policies

@dapr-bot
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had activity in the last 60 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.

@dapr-bot dapr-bot added the stale Issues and PRs without response label Dec 31, 2022
@dapr-bot
Copy link
Collaborator
dapr-bot commented Jan 7, 2023

This issue has been automatically closed because it has not had activity in the last 67 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Assigned - P1
Development

No branches or pull requests

6 participants
0