# NetworkZone for ActiveGate over Openshift

**URL:** <https://community.dynatrace.com/t/networkzone-for-activegate-over-openshift/36785>\
**Category:** Container platforms\
**Tags:** activegate, openshift\
**Created:** [October 5, 2022, 6:37am UTC](https://community.dynatrace.com/t/networkzone-for-activegate-over-openshift/36785 "2022-10-05T06:37:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JAR](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@JAR](https://community.dynatrace.com/u/JAR)\
**Post date:** [October 5, 2022, 6:37am UTC](https://community.dynatrace.com/t/networkzone-for-activegate-over-openshift/36785/1 "2022-10-05T06:37:10Z")

</div>

Hello.  
How do I create a networkzone with the ActiveGate that was created in K8 (Openshift). I want all pods to use this AG?

I currently see pod connections to the AG in Openshift and to other Ags

Br

Jar

---

<div class="post-metadata">

**Author:** ![mizso74](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [October 5, 2022, 7:23am UTC](https://community.dynatrace.com/t/networkzone-for-activegate-over-openshift/36785/2 "2022-10-05T07:23:50Z")

</div>

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

You can create a networkzone in the dynakube custom resource yaml. Uncommnet networkZone line and give a name to your networkzone.

# Optional: Sets Network Zone for OneAgent and ActiveGate pods# Make sure networkZones are enabled on your cluster before (see [Get started with network zones — Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/network-zones/network-zones-basic-info/))#networkZone: your network zone name&nbsp;I hope it helps.Br, Mizső

---

<div class="post-metadata">

**Author:** ![JAR](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@JAR](https://community.dynatrace.com/u/JAR)\
**Post date:** [October 5, 2022, 7:41am UTC](https://community.dynatrace.com/t/networkzone-for-activegate-over-openshift/36785/3 "2022-10-05T07:41:14Z")

</div>

Thank [@Mizső](https://community.dynatrace.com/user/47783)&nbsp;s .  
So.. if I use a new NZ name , it will be unique for the AG containerized&nbsp; and pods.

Correct?

Br, Jose

---

<div class="post-metadata">

**Author:** ![mizso74](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [October 5, 2022, 10:49am UTC](https://community.dynatrace.com/t/networkzone-for-activegate-over-openshift/36785/4 "2022-10-05T10:49:03Z")

</div>

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

It is correct in my opinion. I created netwok zones by openshift clusters level. Every single openshift (kubernetes) cluster has a network zone in my managed setup. Within a cluster pods communicate only the containerized pod (or pods - you can scale up the number og ag pods in the dynakube custom resource yaml.

[Network zones | Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/network-zones)

Br, Mizső
