# How dynatrace operator with OA pulled image will know about new routing AG?

**URL:** <https://community.dynatrace.com/t/how-dynatrace-operator-with-oa-pulled-image-will-know-about-new-routing-ag/33507>\
**Category:** Container platforms\
**Tags:** activegate, oneagent, kubernetes\
**Created:** [December 9, 2021, 8:10pm UTC](https://community.dynatrace.com/t/how-dynatrace-operator-with-oa-pulled-image-will-know-about-new-routing-ag/33507 "2021-12-09T20:10:43Z")\
**Posts on this page:** 5\
**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:** [December 9, 2021, 8:10pm UTC](https://community.dynatrace.com/t/how-dynatrace-operator-with-oa-pulled-image-will-know-about-new-routing-ag/33507/1 "2021-12-09T20:10:43Z")

</div>

Hi guys,

Will be happy to read your suggestions for the follow scenario:

1. K8S with no connection to the cluster nodes on port 443 nor to AG’s on port 9999, from pods
2. Installing dynatrace operator with [pulled OA image](https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-container-platforms/kubernetes/store-dynatrace-images-in-private-registries-kubernetes/)

How the OA pods will connect to the routing AG if the ip is not publish yet and not included in the pulled&nbsp; image?

Do we need to install first [StatefullSet AG](https://www.dynatrace.com/support/help/shortlink/connect-kubernetes-clusters)&nbsp;and not to install the AG from the dynatrace operator?

Maybe just to pull new image from dynatrace after routing OA is up an running and push the new image to the OA pods?

Thanks in advance for your inputs here

All the best and stay safe

Yos

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [December 9, 2021, 9:23pm UTC](https://community.dynatrace.com/t/how-dynatrace-operator-with-oa-pulled-image-will-know-about-new-routing-ag/33507/2 "2021-12-09T21:23:40Z")

</div>

So we have it all defined in Helm, so deployment looks directly at a DNS Alias which holds a set of AGs for the Oneagent Version, then it gets installed to the nodes, and then they report back via Network Zones to specific AGs.

---

<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 10, 2021, 6:54am UTC](https://community.dynatrace.com/t/how-dynatrace-operator-with-oa-pulled-image-will-know-about-new-routing-ag/33507/3 "2021-12-10T06:54:27Z")

</div>

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

Thanks for your replay

My bad, forgot to mention that in this case customer uses PSP so we utilized [dynatrace operator V0.2.1 which is the last version that support PSP](https://www.dynatrace.com/support/help/shortlink/kubernetes-hub#oneagent), after no host was added to cluster we saw in OA pods os logs that it tries to reach the cluster and other AGs and not to the new born routing AG, hence we docker pulled newer OA version from cluster and pushed it to the local repository and after deleting the OA pods it took the new OA version and hosts appeared in the dynatrace UI in no time. so the question remains&nbsp; what is the right why to do this ? is there some setting from cr.yaml that can do the trick?

Thanks in advance

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:** [May 30, 2025, 9:52am UTC](https://community.dynatrace.com/t/how-dynatrace-operator-with-oa-pulled-image-will-know-about-new-routing-ag/33507/4 "2025-05-30T09:52:17Z")

</div>

Hey&nbsp;[@Yosi\_Neuman](https://community.dynatrace.com/user/6931), did you manage to find the solution to your problem? If so, it would be amazing if you’ve shared it with the rest of the Community! If not, let me know, and I’ll look for some further assistance&nbsp;😊

---

<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:** [May 30, 2025, 4:02pm UTC](https://community.dynatrace.com/t/how-dynatrace-operator-with-oa-pulled-image-will-know-about-new-routing-ag/33507/5 "2025-05-30T16:02:30Z")

</div>

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

We found out that we can set the server end point for AG and OA from entries within the dynakube.yaml

For OA under args:

```javascript
# Optional: Adds custom arguments to the OneAgent installer
      # For a list of available options, see https://www.dynatrace.com/support/help/shortlink/linux-custom-installation
      # For a list of the limitations for OneAgents in Docker, see https://www.dynatrace.com/support/help/shortlink/oneagent-docker#limitations
      #
      # args: []

```

For AG under&nbsp;customProperties:

```javascript
# Optional: Defines a custom properties file, the file contents can be provided either as a value in this yaml or as a reference to a secret.
    # If a reference to a secret is used, then the file contents must be stored under the 'customProperties' key within the secret.
    #
    # customProperties:
    # value: |
    # [connectivity]
    # networkZone=
    # valueFrom: myCustomPropertiesSecret

```

HTH

Yos
