dapr / dapr

Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
https://dapr.io
Apache License 2.0
23.54k stars 1.85k forks source link

Dapr-sidecar-injector patch the injector to the application pods #7809

Open kiranagalpady83 opened 2 weeks ago

kiranagalpady83 commented 2 weeks ago

Note: If you have a general support question and are looking for a quicker response, please checkout our discord channel for answers from the community: https://aka.ms/dapr-discord

In what area(s)?

/area runtime

Ask your question here:

Hello, Do we need following ServiceAccount in kuberenetes cluster to function the Dapr-sidecar-injector patch the injector to the application pods?
ServiceAccount list:

system:kube-controller-manager                                                                                                                                                                                                                       kube-system:replicaset-controller
kube-system:deployment-controller
kube-system:cronjob-controller
kube-system:job-controller
kube-system:statefulset-controller
kube-system:daemon-set-controller
tekton-pipelines:tekton-pipelines-controller
yaron2 commented 2 weeks ago

Generally yes, but you can tell Dapr which service accounts to use. What is the service account in your cluster that is used for deploying your pods?

kiranagalpady83 commented 2 weeks ago

logs.txt we use the serviceaccount where helm chart deployment file defined server accounts for dapr deployment and for application deployment we use default serviceaccounts. We don't have access to kube-system namespace. Dapr sidecar injector is not patching injector to the application pods. please find the attached logs. logs.txt