dapr / quickstarts

Dapr quickstart code samples and tutorials showcasing core Dapr capabilities
Apache License 2.0
1.02k stars 516 forks source link

`hello kubernetes` examples (nodeapp and pythonapp) are not using the SDKs #1029

Closed salaboy closed 1 week ago

salaboy commented 1 month ago

Describe the feature

The examples nodeapp and pythonapp doesn't use the Dapr SDKs and just do plain HTTP calls. The DAPR host is hardcoded in both applications to be localhost which limit this examples to be used only when daprd is injected as a sidecar.

Supporting setting the host via the environment variable: DAPR_HTTP_ENDPOINT will align with how SDKs can set up remote hosts.