0

I have a AKS cluster running in Azure and have deployed Dapr runtime into it along with a few other test service deployments that are annotated with dapr.io/enabled, dapr.io/id.

A Daprd side-car container instance co-locates within the same pod as each service so all is good there.

I then installed NGINX with the Dapr side-car annotations however I do not see a Daprd container instance co-located within the same pod as the NGINX container.

I followed this article to deploy NGINX with Dapr annotations applied through dapr-annotation.yaml file

enter image description here

Here are my workloads...

enter image description here

Here are my Services and ingresses...

enter image description here

Deployed Service1 has side-car...

enter image description here

Deployed Echo Service has side-car...

enter image description here

NGINX does not have a side-car but has annotations...

enter image description here

John Kears
  • 677
  • 6
  • 20

1 Answers1

2

The issue was related to changes to the Helm chart format to the following.

enter image description here

As a result of that change I now see the Darp side car on NGINX ingress controller as expected.

enter image description here

John Kears
  • 677
  • 6
  • 20
  • Hello, I'm glad that you found out the issue but please remember to not include images in your questions/answers apart from diagrams and rendered bugs. Here you can find more information on the reasoning behind it: https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-errors-when-asking-a-question/285557#285557 – Dawid Kruk Feb 05 '21 at 13:53
  • @DawidKruk I was not aware of the policy, thanks for letting me know. Just to be clear, the two configuration settings are in conflict with the policy but the screen shots are ok? – John Kears Feb 06 '21 at 14:04