dapr / docs

Dapr user documentation, used to build docs.dapr.io
https://docs.dapr.io
Creative Commons Attribution 4.0 International
994 stars 726 forks source link

Clearly document how to disable placement connection on non-actor services #4044

Open KrylixZA opened 7 months ago

KrylixZA commented 7 months ago

Describe the issue

On the page: Dapr arguments and annotations for daprd, CLI, and Kubernetes, it specifies

When the annotation is set and the value is empty, the sidecar does not connect to Placement server. This can be used when there are no actors running in the sidecar.

However it is not completely clear that the value needs to be a single space. Simply putting '' does not work. It needs to be set to ' ' for this to work.

URL of the docs https://docs.dapr.io/reference/arguments-annotations-overview/

Expected content The docs should explicitly state that it needs to be set to ' ' in order for it to work and specify this needs to be a single space character.

Screenshots N/A

Additional context This is for those wanting to get rid of the 404 /dapr/config issues in their telemetry during application startup.

KrylixZA commented 7 months ago

This does seem to be largely a Helm thing, not a Dapr thing. But it's worth putting in the docs.

msfussell commented 7 months ago

@KrylixZA Were you setting this annotation via Helm or some other way? Making sure our guidance for the approach is consistent.

KrylixZA commented 7 months ago

@msfussell Yeah using Helm to set pod annotations.

hhunter-ms commented 4 weeks ago

@yaron2 why was this reopened?