man-group / dapr-sidekick-dotnet

Dapr Sidekick for .NET - a lightweight lifetime management component for Dapr
Apache License 2.0
177 stars 21 forks source link

When deploying to Kubernetes do I remove the dapr Sidecar? #30

Closed DexManx closed 2 years ago

DexManx commented 3 years ago

When deploying to Kubernetes do I remove the dapr Sidecar?

badgeratu commented 3 years ago

Under K8S the Dapr sidecar is deployed to a separate prod container by the Sidecar Injector, so Sidekick is not required. You can therefore disable Sidekick entirely during deployment by setting the environment variable DAPRSIDEKICK_ENABLED=false. See Issue https://github.com/man-group/dapr-sidekick-dotnet/issues/9 for more details.