# Distributed tracing in Kubernetes(k8s)

**URL:** <https://community.dynatrace.com/t/distributed-tracing-in-kubernetes-k8s/37327>\
**Category:** Container platforms\
**Tags:** distributed-traces-classic, kubernetes\
**Created:** [November 17, 2022, 6:03am UTC](https://community.dynatrace.com/t/distributed-tracing-in-kubernetes-k8s/37327 "2022-11-17T06:03:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gogi](https://avatars.discourse-cdn.com/v4/letter/g/958977/32.png) [@Gogi](https://community.dynatrace.com/u/Gogi)\
**Post date:** [November 17, 2022, 6:03am UTC](https://community.dynatrace.com/t/distributed-tracing-in-kubernetes-k8s/37327/1 "2022-11-17T06:03:44Z")

</div>

Hi all,

If we have 2 kubernetes cluster and one agent is installed in both clusters

cluster 1 which has app A

cluster 2 which has app B

if app A interacts with app B then we will get tracing in this case as well, right?

My understanding here is yes, traces inbetween App A and B should be available as oneAgent(Full-stack) will be installed on both k8s cluster nodes, till oneAgent is there till that point traces will be collected, no firewall should be blocking.

Please let me know my understanding is right or not.

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [November 17, 2022, 8:21am UTC](https://community.dynatrace.com/t/distributed-tracing-in-kubernetes-k8s/37327/2 "2022-11-17T08:21:06Z")

</div>

Hi&nbsp;[@Gogi](https://community.dynatrace.com/user/50971),

I think yes if both cluster in the same DT evironment. Do you have any problem?

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![Gogi](https://avatars.discourse-cdn.com/v4/letter/g/958977/32.png) [@Gogi](https://community.dynatrace.com/u/Gogi)\
**Post date:** [November 17, 2022, 1:47pm UTC](https://community.dynatrace.com/t/distributed-tracing-in-kubernetes-k8s/37327/3 "2022-11-17T13:47:26Z")

</div>

[@Mizső](https://community.dynatrace.com/user/47783)&nbsp;thanks, within few days we are going to do this deployment.

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [November 17, 2022, 2:30pm UTC](https://community.dynatrace.com/t/distributed-tracing-in-kubernetes-k8s/37327/4 "2022-11-17T14:30:37Z")

</div>

Hi&nbsp;[@Gogi](https://community.dynatrace.com/user/50971)&nbsp;,

Good luck!!!&nbsp;😉

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![Enrico\_F](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/enrico_f/32/23774_2.png) [@Enrico\_F](https://community.dynatrace.com/u/Enrico_F)\
**Post date:** [November 21, 2022, 8:37am UTC](https://community.dynatrace.com/t/distributed-tracing-in-kubernetes-k8s/37327/5 "2022-11-21T08:37:12Z")

</div>

IMO that will depend entirely on whether or not there are any ingress/egress web proxies or security gateways which will scan the HTTP traffic and potentially interfere with the “x-dynatrace” request header which is essential for purepath/trace stitching over HTTP…
