# What is the right way to set proxy to containerized AG?

**URL:** <https://community.dynatrace.com/t/what-is-the-right-way-to-set-proxy-to-containerized-ag/40798>\
**Category:** Container platforms\
**Tags:** activegate, proxy, kubernetes\
**Created:** [July 20, 2023, 8:50am UTC](https://community.dynatrace.com/t/what-is-the-right-way-to-set-proxy-to-containerized-ag/40798 "2023-07-20T08:50:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [July 20, 2023, 8:50am UTC](https://community.dynatrace.com/t/what-is-the-right-way-to-set-proxy-to-containerized-ag/40798/1 "2023-07-20T08:50:12Z")

</div>

Hi guys,

TL;DR -&nbsp;What is the right way to set proxy to containerized AG ?

Customer deployed dynatrace operator v12 /&nbsp;classic full-stack on their AKS k8s cluster.

In order to communicate with their DTMC they need to send the information thru a proxy.

Within dynkube.yaml we set the apiUrl to the proxy, AG and OA images where downloaded OK and the environment was created on the cluster, but when containerized AG tried to connect to the the DTMC its only see’s the internal endpoints and is not able to connect.

We tried to utilize the [proxy entry](https://www.dynatrace.com/support/help/shortlink/dto-config-k8s#proxy) within the dynakube.yaml and set it with http and https to point to the proxy endpoint, deployed again the dynakube.yaml but with no success.

We where not able to update the custom.properties file of the AG pod.

We saw environment variable set for the AG pod but do not know how to change them/

So the question here is: What is the right way to set proxy to containerized AG ?

Thanks in advance for you inputs

Yos

---

<div class="post-metadata">

**Author:** ![izabelarokita](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/izabelarokita/32/41812_2.png) [@izabelarokita](https://community.dynatrace.com/u/izabelarokita)\
**Post date:** [December 18, 2023, 10:20am UTC](https://community.dynatrace.com/t/what-is-the-right-way-to-set-proxy-to-containerized-ag/40798/2 "2023-12-18T10:20:51Z")

</div>

Hello&nbsp;[@Yosi\_Neuman](https://community.dynatrace.com/user/6931)&nbsp;,  
Do you still require our help with that issue, or maybe you’ve already found the solution? Let me know! 🙂

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [December 18, 2023, 5:16pm UTC](https://community.dynatrace.com/t/what-is-the-right-way-to-set-proxy-to-containerized-ag/40798/3 "2023-12-18T17:16:37Z")

</div>

Hi&nbsp;[@IzabelaRokita](https://community.dynatrace.com/user/67399)

Yep we have found the solution for that&nbsp;:hands\_in\_air:

Within the dynakube.yaml file under activeGate section add the follows&nbsp;customProperties

```javascript
customProperties:
      value: |-
        [connectivity]
        ignoreClusterRuntimeInfo = true
        [collector]
        seedServerUrl = https://my.reverse-proxy.com:443/communication

```

Hope that will help others

Yos

---

<div class="post-metadata">

**Author:** ![izabelarokita](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/izabelarokita/32/41812_2.png) [@izabelarokita](https://community.dynatrace.com/u/izabelarokita)\
**Post date:** [December 19, 2023, 7:46am UTC](https://community.dynatrace.com/t/what-is-the-right-way-to-set-proxy-to-containerized-ag/40798/4 "2023-12-19T07:46:22Z")

</div>

That’s amazing [@Yosi\_Neuman](https://community.dynatrace.com/user/6931)&nbsp;!&nbsp;:party\_cat: Thank you so much for sharing the solution with the Community&nbsp;:slightly\_smiling\_face:

---

<div class="post-metadata">

**Author:** ![tarjei](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tarjei/32/39196_2.png) [@tarjei](https://community.dynatrace.com/u/tarjei)\
**Post date:** [June 30, 2025, 10:43am UTC](https://community.dynatrace.com/t/what-is-the-right-way-to-set-proxy-to-containerized-ag/40798/5 "2025-06-30T10:43:30Z")

</div>

Hi&nbsp;[@Yosi\_Neuman](https://community.dynatrace.com/user/6931)&nbsp; what do you set the&nbsp;apiUrl: to with this setting?

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [June 30, 2025, 12:40pm UTC](https://community.dynatrace.com/t/what-is-the-right-way-to-set-proxy-to-containerized-ag/40798/6 "2025-06-30T12:40:07Z")

</div>

Hi&nbsp;[@tarjei](https://community.dynatrace.com/user/12960)

Should be:

```auto
<span>apiUrl: </span><u><span><a href="https://%3cenvironment-ag%3e:9999/e/%3ctenant_id%3e/api" target="_blank" rel="noopener nofollow noreferrer">https://<environment-ag>:9999/e/<tenant_id>/api</a></span></u>

```

HTH

Yos
