# Pro Tip - Management Zones in Kubernetes environments (possible solution)

**URL:** <https://community.dynatrace.com/t/pro-tip-management-zones-in-kubernetes-environments-possible-solution/53086>\
**Category:** Dynatrace Tips\
**Tags:** management-zones, kubernetes\
**Created:** [August 25, 2025, 6:16am UTC](https://community.dynatrace.com/t/pro-tip-management-zones-in-kubernetes-environments-possible-solution/53086 "2025-08-25T06:16:51Z")\
**Posts on this page:** 5\
**Page:** 1

<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:** [August 25, 2025, 6:16am UTC](https://community.dynatrace.com/t/pro-tip-management-zones-in-kubernetes-environments-possible-solution/53086/1 "2025-08-25T06:16:51Z")

</div>

Hi Folks,

I know that segments will be the future and MZ will be retired, but until that maybe you can use this possible solution for MZ management in kubernetes environments.

Let’s assume you organize your applications by namespace level and you need MZ for filtering and access management purposes.

Basic of these Management zones are tags. So the first step is tagging the belonging entitis. Only one concrete value in this solution the namesapce name (or namespaces) . Rest of the tags are dinamic. I am trying to collect all relevant entities with in a namesapce. Only one entitiy type is missing the Cloud Application Insatance. It is not allowed to tag this entitiy type.

Here is an example for tagging. Atomatiacally applied tag name is okduat\_8. The namespace selector is&nbsp;entityName.startsWith(\“uat8\”)

“value”: {&nbsp; &nbsp; “name”: “okduat\_8”,&nbsp; &nbsp; “rules”: [&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“SERVICE\”),serviceType(DATABASE\_SERVICE),toRelationships.Calls(type(\“SERVICE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“kafka:topic\”),toRelationships.Calls(type(\“kafka:consumer\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“kafka:topic\”),toRelationships.Calls(type(\“kafka:producer\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“kafka:producer\”),fromRelationships.IsSameAs(type(\“PROCESS\_GROUP\_INSTANCE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“kafka:consumer\”),fromRelationships.IsSameAs(type(\“PROCESS\_GROUP\_INSTANCE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“KUBERNETES\_NODE\”),toRelationships.isClusterOfNode(type(\“KUBERNETES\_CLUSTER\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“CONTAINER\_GROUP\”),toRelationships.isInstanceOf(type(\“CONTAINER\_GROUP\_INSTANCE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“CONTAINER\_GROUP\_INSTANCE\”),fromRelationships.isCgiOfNamespace(type(\“CLOUD\_APPLICATION\_NAMESPACE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“CLOUD\_APPLICATION\”),toRelationships.isNamespaceOfCa(type(\“CLOUD\_APPLICATION\_NAMESPACE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“SERVICE\”),fromRelationships.RunsOn(type(\“PROCESS\_GROUP\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“PROCESS\_GROUP\”),toRelationships.isNamespaceOfPg(type(\“CLOUD\_APPLICATION\_NAMESPACE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“PROCESS\_GROUP\_INSTANCE\”),fromRelationships.isInstanceOf(type(\“PROCESS\_GROUP\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“KUBERNETES\_SERVICE\”),toRelationships.isNamespaceOfKubernetesSvc(type(\“CLOUD\_APPLICATION\_NAMESPACE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“HOST\”),toRelationships.RunsOn(type(\“PROCESS\_GROUP\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“HOST\_GROUP\”),toRelationships.isInstanceOf(type(\“HOST\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“CLOUD\_APPLICATION\_NAMESPACE\”),entityName.startsWith(\“uat8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “valueNormalization”: “Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“KUBERNETES\_CLUSTER\”),fromRelationships.isClusterOfNamespace(type(\“CLOUD\_APPLICATION\_NAMESPACE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; }&nbsp; &nbsp;]&nbsp; }Here is the result in the GUI, (some extra in it the kafka entities, but you can extend it with other types of entities):

 ![Mizs_0-1756101914908.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/5/55cef056c0185f1e58954370e63c8f0d990d92dd.png)

If your entities are tagged you can create the MZ rule. Here is an example for the MZ rule:

“value”: {&nbsp; &nbsp; “name”: “okduat\_8”,&nbsp; &nbsp; “rules”: [&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“CLOUD\_APPLICATION\_INSTANCE\”),toRelationships.isNamespaceOfCai(type(\“CLOUD\_APPLICATION\_NAMESPACE\”),tag(\“okduat\_8\”))”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“kafka:topic\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“kafka:producer\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“kafka:consumer\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“SERVICE\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“PROCESS\_GROUP\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“PROCESS\_GROUP\_INSTANCE\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“KUBERNETES\_SERVICE\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“KUBERNETES\_NODE\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“KUBERNETES\_CLUSTER\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“HOST\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“HOST\_GROUP\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“CONTAINER\_GROUP\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“CONTAINER\_GROUP\_INSTANCE\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“CLOUD\_APPLICATION\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “enabled”: true,&nbsp; &nbsp; &nbsp; &nbsp; “type”: “SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp; “entitySelector”: “type(\“CLOUD\_APPLICATION\_NAMESPACE\”),tag(\“okduat\_8\”)”&nbsp; &nbsp; &nbsp; }&nbsp; &nbsp;]&nbsp; }

Here is the GUI result of the MZ:

 ![Mizs_1-1756102277915.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/e/fe28d511e9eabb232f3c877041ca3048a852cf4d.png)

You can modify or extend this collection and then you can use the Settings API and of course the Monaco to implement it…

Best regards,

János

---

<div class="post-metadata">

**Author:** ![prasad\_arugonda](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@prasad\_arugonda](https://community.dynatrace.com/u/prasad_arugonda)\
**Post date:** [August 25, 2025, 6:44am UTC](https://community.dynatrace.com/t/pro-tip-management-zones-in-kubernetes-environments-possible-solution/53086/2 "2025-08-25T06:44:38Z")

</div>

Hi&nbsp;[@Mizső](https://community.dynatrace.com/user/47783)

Thanks for sharing this tip—it’s quite similar to what we currently implement in our environments (no other choice).

That said, in large enterprise Kubernetes setups with hundreds of namespaces, the number of rules required can quickly become overwhelming. This not only adds operational overhead but could also have a noticeable impact on cluster performance (may be).

With Management Zones (MZs) being phased out in favor of Segments, this approach may not be sustainable in the long term. While it works for now, it might not be the most future-proof solution. 😉

Looking forward to seeing how Dynatrace evolves this transition and whether a more scalable, automated mapping between MZs and Segments will be introduced.🤞

---

<div class="post-metadata">

**Author:** ![istvan\_safranek](https://avatars.discourse-cdn.com/v4/letter/i/ed655f/32.png) [@istvan\_safranek](https://community.dynatrace.com/u/istvan_safranek)\
**Post date:** [January 7, 2026, 4:28pm UTC](https://community.dynatrace.com/t/pro-tip-management-zones-in-kubernetes-environments-possible-solution/53086/3 "2026-01-07T16:28:47Z")

</div>

Hi&nbsp;[@Mizső](https://community.dynatrace.com/user/47783)

I want to create some MZ with this solution. Here’s the catch:

I have one team responsible for 14 namespaces and another team responsible for 6, etc.Is it possible to configure as many MZs as I have teams, and have each of them include the entities from the corresponding number of namespaces?

---

<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:** [January 8, 2026, 7:08am UTC](https://community.dynatrace.com/t/pro-tip-management-zones-in-kubernetes-environments-possible-solution/53086/4 "2026-01-08T07:08:23Z")

</div>

Hi&nbsp;[@istvan\_safranek](https://community.dynatrace.com/user/11521),

BUÉK! Szia Safi! Rég hallottam felőled, remélem jól vagy!😉

Back to business…

You should modify the tagging rules. You should put 14 or 6 Cloud Application Namespace:

{&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“enabled”:&nbsp;true,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“valueNormalization”:&nbsp;“Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“type”:&nbsp;“SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“entitySelector”:&nbsp;“type(\“CLOUD\_APPLICATION\_NAMESPACE\”),entityName.startsWith(\“uat8\”)”&nbsp; &nbsp; &nbsp; },

BUÉK! Szia Safi! Rég hallottam felőled, remélem jól vagy!😉

Back to business…

You should modify the tagging rules. You should put 14 or 6 Cloud Application Namespace:

{&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“enabled”:&nbsp;true,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“valueNormalization”:&nbsp;“Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“type”:&nbsp;“SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“entitySelector”:&nbsp;“type(\“CLOUD\_APPLICATION\_NAMESPACE\”),entityName.startsWith(\“uat9\”)”&nbsp; &nbsp; &nbsp; },

BUÉK! Szia Safi! Rég hallottam felőled, remélem jól vagy!😉

Back to business…

You should modify the tagging rules. You should put 14 or 6 Cloud Application Namespace:

{&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“enabled”:&nbsp;true,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“valueNormalization”:&nbsp;“Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“type”:&nbsp;“SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“entitySelector”:&nbsp;“type(\“CLOUD\_APPLICATION\_NAMESPACE\”),entityName.startsWith(\“uat10\”)”&nbsp; &nbsp; &nbsp; },etc.And maybe you should change the tag name from the cloud application name to the team name and replce it in every singel tagging rule:“value”: {&nbsp; &nbsp;&nbsp;“name”:&nbsp;“team\_1”,&nbsp; &nbsp;&nbsp;“rules”: [&nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“enabled”:&nbsp;true,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“valueNormalization”:&nbsp;“Leave text as-is”,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“type”:&nbsp;“SELECTOR”,&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;“entitySelector”:&nbsp;“type(\“SERVICE\”),serviceType(DATABASE\_SERVICE),toRelationships.Calls(type(\“SERVICE\”),tag(\“team\_1\”))”&nbsp; &nbsp; &nbsp; },I hope it helps. If you need any more information drop me an e-mail.Hava a nice day.Best regards,Mizső

---

<div class="post-metadata">

**Author:** ![istvan\_safranek](https://avatars.discourse-cdn.com/v4/letter/i/ed655f/32.png) [@istvan\_safranek](https://community.dynatrace.com/u/istvan_safranek)\
**Post date:** [January 8, 2026, 9:58am UTC](https://community.dynatrace.com/t/pro-tip-management-zones-in-kubernetes-environments-possible-solution/53086/5 "2026-01-08T09:58:59Z")

</div>

Szia és BÚÉK neked is.

I created an autotag rule like this:

**type(CLOUD\_APPLICATION\_NAMESPACE),entityName.in(“namespace1”,“namespace2”,“namespace3”,“namespace4”,“namespace5”)**  
and based on these tag I created the MZ. I hope the team will be pleased with the MZ 🙂
