https://github.com/salaboy/dapr-ambient
Dapr Ambient :: Create Dapr Apps for Serverless Scenarios
https://github.com/salaboy/dapr-ambient
Last synced: about 2 months ago
JSON representation
Dapr Ambient :: Create Dapr Apps for Serverless Scenarios
- Host: GitHub
- URL: https://github.com/salaboy/dapr-ambient
- Owner: salaboy
- License: apache-2.0
- Created: 2023-03-21T09:43:25.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-24T11:28:43.000Z (about 2 years ago)
- Last Synced: 2025-03-24T22:43:12.248Z (2 months ago)
- Language: Go
- Size: 28.3 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dapr Ambient
Dapr Ambient allows you to create Dapr Applications using the `daprd` Sidecar as a Kubernetes `DeamonSet`. This enables other use cases where Sidecars are not the best option.
By running `daprd` as a Kubernetes `DaemonSet` the `daprd` container will be present in each Kubernetes Node, reducing the network hops between the applications and Dapr.
If you need multiple Dapr Applications you can deploy this chart multiple times using different `ambient.appId`s.
To deploy this chart you can run from inside the `chart/dapr-ambient` directory:
```
helm install my-ambient . --set ambient.appId= --set ambient.proxy.remoteURL=```
Where `` is the Dapr App Id that you can use in your components (for example for scopes) and `` is a reachable URL where `dapr-ambient` will forward notifications received by the Dapr sidecar.
Future versions might include forwarding notifications to multiple remote URLs.
## Building from source
I've used the [CNCF `ko` project](https://ko.build/) to build multiplatform images for the proxy.
You can run the following command to build containers for the `dapr-ambient` proxy:```
ko build --platform=linux/amd64,linux/arm64
```## Trying Dapr Ambient in your cluster
If you are looking to try Dapr Ambient with a sample application you can follow the [step-by-step tutorial linked here](ambient-tutorial.md).
## Getting involved & contributing
If you want to get involved with `dapr-ambient` you can drop me a message on [Twitter](https://twitter.com/salaboy) or create an issue in this repo.