dapr-ambient

command module
v0.0.0-...-48f13de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

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.appIds.

To deploy this chart you can run from inside the chart/dapr-ambient directory:

helm install my-ambient . --set ambient.appId=<DAPR_APP_ID> --set ambient.proxy.remoteURL=<REMOTE_URL>  

Where <DAPR_APP_ID> is the Dapr App Id that you can use in your components (for example for scopes) and <REMOTE_URL> 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 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.

Getting involved & contributing

If you want to get involved with dapr-ambient you can drop me a message on Twitter or create an issue in this repo.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL