Updating deployed components used by applications
When making an update to an existing deployed component used by an application, Dapr does not update the component automatically. The Dapr sidecar needs to be restarted in order to pick up the latest version of the component. How this done depends on the hosting environment.
When running in Kubernetes, the process of updating a component involves two steps:
- Applying the new component YAML to the desired namespace
- Performing a rollout restart operation on your deployments to pick up the latest component
When running in Self Hosted mode, the process of updating a component involves a single step of stopping the
daprd process and starting it again to pick up the latest component.
- Components concept
- Reference secrets in component definitions
- Supported state stores
- Supported pub/sub brokers
- Supported secret stores
- Supported bindings
- Set component scopes
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified January 5, 2023: toc restructure (90cf4cf8)