dapr / samples

Community driven repository for Dapr samples
Apache License 2.0
416 stars 174 forks source link

I have confused dapr in kubernetes about service invoke. #101

Closed adxpcc closed 2 years ago

adxpcc commented 2 years ago

in kunernetes normal servie invoke like this: image

Now use dapr. there is sidecar with pod2. How pod1 invoke pod2? what`s the pod2 service address ?

pod1 invoke pod2s sidecar? or pod2 svc name? like this ??? image

or image

yaron2 commented 2 years ago

It's app 1 --> sidecar 1 --------> sidecar 2 --> app2

I suggest to read more here: https://docs.dapr.io/developing-applications/building-blocks/service-invocation/service-invocation-overview/

adxpcc commented 2 years ago

It's app 1 --> sidecar 1 --------> sidecar 2 --> app2

I suggest to read more here: https://docs.dapr.io/developing-applications/building-blocks/service-invocation/service-invocation-overview/

thanks