An open API service indexing awesome lists of open source software.

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

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.